- Added Process.getPid() and Terminal.isTerminal().

- Added a test command-line app.
This commit is contained in:
Adam Murdoch
2012-07-29 17:05:06 +10:00
parent 1d56f93e64
commit c009527afa
12 changed files with 141 additions and 25 deletions

View File

@@ -0,0 +1,12 @@
package net.rubygrapefruit.platform;
import java.io.File;
/**
* Functions to query and modify a file's POSIX meta-data.
*/
public interface PosixFile extends NativeIntegration {
void setMode(File path, int perms) throws NativeException;
int getMode(File path) throws NativeException;
}