|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rubygrapefruit.platform.internal.DefaultPosixFile
public class DefaultPosixFile
| Constructor Summary | |
|---|---|
DefaultPosixFile()
|
|
| Method Summary | |
|---|---|
int |
getMode(java.io.File file)
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 file,
int perms)
Sets the mode for the given file. |
void |
symlink(java.io.File link,
java.lang.String contents)
Creates a symbolic link. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPosixFile()
| Method Detail |
|---|
public void setMode(java.io.File file,
int perms)
PosixFile
setMode in interface PosixFilepublic int getMode(java.io.File file)
PosixFile
getMode in interface PosixFile
public java.lang.String readLink(java.io.File link)
throws NativeException
PosixFile
readLink in interface PosixFileNativeException - On failure.
public void symlink(java.io.File link,
java.lang.String contents)
throws NativeException
PosixFile
symlink in interface PosixFileNativeException - On failure.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||