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

Quick Search    Search Deep

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

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

public abstract class UnixFileSystem
extends java.lang.Object

UnixFileSystem

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

Nested Class Summary
static class UnixFileSystem.linux_stat
           
 
Field Summary
static Run_Time.SystemInterface.ExternalLink _access
           
static int BA_DIRECTORY
           
static int BA_EXISTS
           
static int BA_HIDDEN
           
static int BA_REGULAR
           
(package private) static int F_OK
           
(package private) static int R_OK
           
(package private) static int S_IFBLK
           
(package private) static int S_IFCHR
           
(package private) static int S_IFDIR
           
(package private) static int S_IFIFO
           
(package private) static int S_IFLNK
           
(package private) static int S_IFMT
           
(package private) static int S_IFREG
           
(package private) static int S_IFSOCK
           
(package private) static int S_IRGRP
           
(package private) static int S_IROTH
           
(package private) static int S_IRUSR
           
(package private) static int S_IRWXG
           
(package private) static int S_IRWXO
           
(package private) static int S_IRWXU
           
(package private) static int S_ISGID
           
(package private) static int S_ISUID
           
(package private) static int S_ISVTX
           
(package private) static int S_IWGRP
           
(package private) static int S_IWOTH
           
(package private) static int S_IWUSR
           
(package private) static int S_IXGRP
           
(package private) static int S_IXOTH
           
(package private) static int S_IXUSR
           
(package private) static int W_OK
           
(package private) static int X_OK
           
 
Constructor Summary
UnixFileSystem()
           
 
Method Summary
static int access(java.lang.String fn, int mode)
           
static void boot()
           
 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 getBooleanAttributes0(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)
           
 boolean rename(java.io.File file, java.io.File file1)
           
 boolean setLastModifiedTime(java.io.File file, long l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

S_IFMT

static final int S_IFMT
See Also:
Constant Field Values

S_IFSOCK

static final int S_IFSOCK
See Also:
Constant Field Values

S_IFLNK

static final int S_IFLNK
See Also:
Constant Field Values

S_IFREG

static final int S_IFREG
See Also:
Constant Field Values

S_IFBLK

static final int S_IFBLK
See Also:
Constant Field Values

S_IFDIR

static final int S_IFDIR
See Also:
Constant Field Values

S_IFCHR

static final int S_IFCHR
See Also:
Constant Field Values

S_IFIFO

static final int S_IFIFO
See Also:
Constant Field Values

S_ISUID

static final int S_ISUID
See Also:
Constant Field Values

S_ISGID

static final int S_ISGID
See Also:
Constant Field Values

S_ISVTX

static final int S_ISVTX
See Also:
Constant Field Values

S_IRWXU

static final int S_IRWXU
See Also:
Constant Field Values

S_IRUSR

static final int S_IRUSR
See Also:
Constant Field Values

S_IWUSR

static final int S_IWUSR
See Also:
Constant Field Values

S_IXUSR

static final int S_IXUSR
See Also:
Constant Field Values

S_IRWXG

static final int S_IRWXG
See Also:
Constant Field Values

S_IRGRP

static final int S_IRGRP
See Also:
Constant Field Values

S_IWGRP

static final int S_IWGRP
See Also:
Constant Field Values

S_IXGRP

static final int S_IXGRP
See Also:
Constant Field Values

S_IRWXO

static final int S_IRWXO
See Also:
Constant Field Values

S_IROTH

static final int S_IROTH
See Also:
Constant Field Values

S_IWOTH

static final int S_IWOTH
See Also:
Constant Field Values

S_IXOTH

static final int S_IXOTH
See Also:
Constant Field Values

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

R_OK

static final int R_OK
See Also:
Constant Field Values

W_OK

static final int W_OK
See Also:
Constant Field Values

X_OK

static final int X_OK
See Also:
Constant Field Values

F_OK

static final int F_OK
See Also:
Constant Field Values

_access

public static Run_Time.SystemInterface.ExternalLink _access
Constructor Detail

UnixFileSystem

public UnixFileSystem()
Method Detail

getLength

public long getLength(java.io.File file)

delete

public boolean delete(java.io.File file)

getLastModifiedTime

public long getLastModifiedTime(java.io.File file)

rename

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

list

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

createDirectory

public boolean createDirectory(java.io.File file)

setLastModifiedTime

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

canonicalize

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

getBooleanAttributes0

public int getBooleanAttributes0(java.io.File file)

access

public static int access(java.lang.String fn,
                         int mode)

checkAccess

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

boot

public static void boot()

initIDs

private static void initIDs()