Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ClassLib.Common.java.io
Class Win32FileSystem  view Win32FileSystem download Win32FileSystem.java

java.lang.Object
  extended byClassLib.Common.java.io.Win32FileSystem

public abstract class Win32FileSystem
extends java.lang.Object

Win32FileSystem

Version:
$Id: Win32FileSystem.java,v 1.9 2003/07/23 18:29:46 joewhaley Exp $

Field Summary
static int BA_DIRECTORY
           
static int BA_EXISTS
           
static int BA_HIDDEN
           
static int BA_REGULAR
           
 
Constructor Summary
Win32FileSystem()
           
 
Method Summary
 java.lang.String canonicalize(java.lang.String s)
           
 boolean checkAccess(java.io.File file, boolean flag)
           
 boolean createDirectory(java.io.File file)
           
 boolean delete(java.io.File file)
           
 int getBooleanAttributes(java.io.File file)
           
 long getLastModifiedTime(java.io.File file)
           
 long getLength(java.io.File file)
           
private static void initIDs()
           
 java.lang.String[] list(java.io.File file)
           
private static int listRoots0()
           
 boolean rename(java.io.File file, java.io.File file1)
           
 boolean setLastModifiedTime(java.io.File file, long l)
           
 boolean setReadOnly(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BA_EXISTS

public static final int BA_EXISTS
See Also:
Constant Field Values

BA_REGULAR

public static final int BA_REGULAR
See Also:
Constant Field Values

BA_DIRECTORY

public static final int BA_DIRECTORY
See Also:
Constant Field Values

BA_HIDDEN

public static final int BA_HIDDEN
See Also:
Constant Field Values
Constructor Detail

Win32FileSystem

public Win32FileSystem()
Method Detail

canonicalize

public java.lang.String canonicalize(java.lang.String s)
                              throws java.io.IOException

getBooleanAttributes

public int getBooleanAttributes(java.io.File file)

checkAccess

public boolean checkAccess(java.io.File file,
                           boolean flag)

getLastModifiedTime

public long getLastModifiedTime(java.io.File file)

getLength

public long getLength(java.io.File file)

delete

public boolean delete(java.io.File file)

list

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

createDirectory

public boolean createDirectory(java.io.File file)

rename

public boolean rename(java.io.File file,
                      java.io.File file1)

setLastModifiedTime

public boolean setLastModifiedTime(java.io.File file,
                                   long l)

setReadOnly

public boolean setReadOnly(java.io.File file)

listRoots0

private static int listRoots0()

initIDs

private static void initIDs()