joeq.ClassLib.Common.java.io
Class Win32FileSystem

java.lang.Object
  extended by joeq.ClassLib.Common.java.io.Win32FileSystem

public abstract class Win32FileSystem
extends Object

Win32FileSystem

Version:
$Id: Win32FileSystem.java,v 1.11 2004/03/09 21:57:34 jwhaley Exp $
Author:
John Whaley

Field Summary
static int BA_DIRECTORY
           
static int BA_EXISTS
           
static int BA_HIDDEN
           
static int BA_REGULAR
           
 
Constructor Summary
Win32FileSystem()
           
 
Method Summary
 String canonicalize(String s)
           
 boolean checkAccess(File file, boolean flag)
           
 boolean createDirectory(File file)
           
 boolean delete(File file)
           
 int getBooleanAttributes(File file)
           
 long getLastModifiedTime(File file)
           
 long getLength(File file)
           
 String[] list(File file)
           
 boolean rename(File file, File file1)
           
 boolean setLastModifiedTime(File file, long l)
           
 boolean setReadOnly(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 String canonicalize(String s)
                    throws IOException
Throws:
IOException

getBooleanAttributes

public int getBooleanAttributes(File file)

checkAccess

public boolean checkAccess(File file,
                           boolean flag)

getLastModifiedTime

public long getLastModifiedTime(File file)

getLength

public long getLength(File file)

delete

public boolean delete(File file)

list

public String[] list(File file)

createDirectory

public boolean createDirectory(File file)

rename

public boolean rename(File file,
                      File file1)

setLastModifiedTime

public boolean setLastModifiedTime(File file,
                                   long l)

setReadOnly

public boolean setReadOnly(File file)


Copyright © 2001-2005 John Whaley. All Rights Reserved.