Added support for Terminal.up(), down(), left(), right() for the terminal.
This commit is contained in:
@@ -4,9 +4,21 @@ import java.io.File;
|
||||
|
||||
/**
|
||||
* Functions to query and modify a file's POSIX meta-data.
|
||||
*
|
||||
* Supported on Linux, OS X
|
||||
*/
|
||||
public interface PosixFile extends NativeIntegration {
|
||||
/**
|
||||
* Sets the mode for the given file.
|
||||
*
|
||||
* @throws NativeException On failure.
|
||||
*/
|
||||
void setMode(File path, int perms) throws NativeException;
|
||||
|
||||
/**
|
||||
* Gets the mode for the given file.
|
||||
*
|
||||
* @throws NativeException On failure.
|
||||
*/
|
||||
int getMode(File path) throws NativeException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user