Methods Summary |
---|
protected native java.lang.String | canonicalize0(java.lang.String path)
|
protected native java.lang.String | canonicalizeWithPrefix0(java.lang.String canonicalPrefix, java.lang.String pathWithCanonicalPrefix)
|
public native boolean | checkAccess(java.io.File f, int access)
|
public native boolean | createDirectory(java.io.File f)
|
public native boolean | createFileExclusively(java.lang.String path)
|
protected native boolean | delete0(java.io.File f)
|
public native int | getBooleanAttributes(java.io.File f)
|
protected native java.lang.String | getDriveDirectory(int drive)
|
public native long | getLastModifiedTime(java.io.File f)
|
public native long | getLength(java.io.File f)
|
public long | getSpace(java.io.File f, int t)
if (f.exists()) {
return getSpace0(f, t);
}
return 0;
|
private native long | getSpace0(java.io.File f, int t)
|
private static native void | initIDs()
|
public native java.lang.String[] | list(java.io.File f)
|
protected native boolean | rename0(java.io.File f1, java.io.File f2)
|
public native boolean | setLastModifiedTime(java.io.File f, long time)
|
public native boolean | setPermission(java.io.File f, int access, boolean enable, boolean owneronly)
|
public native boolean | setReadOnly(java.io.File f)
|