FileDocCategorySizeDatePackage
WinNTFileSystem.javaAPI DocJava SE 6 API1840Tue Jun 10 00:32:44 BST 2008java.io

WinNTFileSystem

public class WinNTFileSystem extends Win32FileSystem
Unicode-aware FileSystem for Windows NT/2000.
author
Konstantin Kladko
version
1.14, 06/03/27
since
1.4

Fields Summary
Constructors Summary
Methods Summary
protected native java.lang.Stringcanonicalize0(java.lang.String path)

protected native java.lang.StringcanonicalizeWithPrefix0(java.lang.String canonicalPrefix, java.lang.String pathWithCanonicalPrefix)

public native booleancheckAccess(java.io.File f, int access)

public native booleancreateDirectory(java.io.File f)

public native booleancreateFileExclusively(java.lang.String path)

protected native booleandelete0(java.io.File f)

public native intgetBooleanAttributes(java.io.File f)

protected native java.lang.StringgetDriveDirectory(int drive)

public native longgetLastModifiedTime(java.io.File f)

public native longgetLength(java.io.File f)

public longgetSpace(java.io.File f, int t)

 	if (f.exists()) {
 	    return getSpace0(f, t);
 	}
 	return 0;
    
private native longgetSpace0(java.io.File f, int t)

private static native voidinitIDs()

public native java.lang.String[]list(java.io.File f)

protected native booleanrename0(java.io.File f1, java.io.File f2)

public native booleansetLastModifiedTime(java.io.File f, long time)

public native booleansetPermission(java.io.File f, int access, boolean enable, boolean owneronly)

public native booleansetReadOnly(java.io.File f)