|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PosixFile
Functions to query and modify a file's POSIX meta-data.
| Method Summary | |
|---|---|
int |
getMode(java.io.File path)
Gets the mode for the given file. |
java.lang.String |
readLink(java.io.File link)
Reads the contents of a symbolic link. |
void |
setMode(java.io.File path,
int perms)
Sets the mode for the given file. |
void |
symlink(java.io.File link,
java.lang.String contents)
Creates a symbolic link. |
| Method Detail |
|---|
void setMode(java.io.File path,
int perms)
throws NativeException
NativeException - On failure.
int getMode(java.io.File path)
throws NativeException
NativeException - On failure.
void symlink(java.io.File link,
java.lang.String contents)
throws NativeException
NativeException - On failure.
java.lang.String readLink(java.io.File link)
throws NativeException
NativeException - On failure.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||