joeq.ClassLib.Common.java.io
Class UnixFileSystem

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

public abstract class UnixFileSystem
extends Object

UnixFileSystem

Version:
$Id: UnixFileSystem.java,v 1.10 2004/09/30 03:35:32 joewhaley Exp $
Author:
John Whaley

Nested Class Summary
static class UnixFileSystem.linux_stat
           
 
Field Summary
static SystemInterface.ExternalLink _access
           
static int BA_DIRECTORY
           
static int BA_EXISTS
           
static int BA_HIDDEN
           
static int BA_REGULAR
           
 
Constructor Summary
UnixFileSystem()
           
 
Method Summary
static int access(String fn, int mode)
           
static void boot()
           
 String canonicalize(String s)
           
 boolean checkAccess(File file, boolean flag)
           
 boolean createDirectory(File file)
           
 boolean delete(File file)
           
 int getBooleanAttributes0(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)
           
 
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

_access

public static SystemInterface.ExternalLink _access
Constructor Detail

UnixFileSystem

public UnixFileSystem()
Method Detail

getLength

public long getLength(File file)

delete

public boolean delete(File file)

getLastModifiedTime

public long getLastModifiedTime(File file)

rename

public boolean rename(File file,
                      File file1)

list

public String[] list(File file)

createDirectory

public boolean createDirectory(File file)

setLastModifiedTime

public boolean setLastModifiedTime(File file,
                                   long l)

canonicalize

public String canonicalize(String s)
                    throws IOException
Throws:
IOException

getBooleanAttributes0

public int getBooleanAttributes0(File file)

access

public static int access(String fn,
                         int mode)

checkAccess

public boolean checkAccess(File file,
                           boolean flag)

boot

public static void boot()


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