1 5 6 9 10 package java.io; 11 12 19 class WinNTFileSystem extends Win32FileSystem { 20 21 protected native String canonicalize0(String path) 22 throws IOException ; 23 protected native String canonicalizeWithPrefix0(String canonicalPrefix, 24 String pathWithCanonicalPrefix) 25 throws IOException ; 26 27 28 29 public native int getBooleanAttributes(File f); 30 public native boolean checkAccess(File f, boolean write); 31 public native long getLastModifiedTime(File f); 32 public native long getLength(File f); 33 34 35 36 37 public native boolean createFileExclusively(String path) 38 throws IOException ; 39 protected native boolean delete0(File f); 40 public synchronized native boolean deleteOnExit(File f); 41 public native String [] list(File f); 42 public native boolean createDirectory(File f); 43 protected native boolean rename0(File f1, File f2); 44 public native boolean setLastModifiedTime(File f, long time); 45 public native boolean setReadOnly(File f); 46 protected native String getDriveDirectory(int drive); 47 private static native void initIDs(); 48 49 static { 50 initIDs(); 51 } 52 } 53 | Popular Tags |