com.sun.mail.mbox
Class UNIXFile

java.lang.Object
  extended by java.io.File
      extended by com.sun.mail.mbox.UNIXFile
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<java.io.File>
Direct Known Subclasses:
UNIXFolder

public class UNIXFile
extends java.io.File

See Also:
Serialized Form

Field Summary
protected static boolean loaded
           
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
UNIXFile(java.lang.String name)
           
 
Method Summary
 long lastAccessed()
           
static long lastAccessed(java.io.File file)
          Return the access time of the file.
static long lastAccessed0(java.lang.String name)
           
static boolean lock(java.io.FileDescriptor fd, java.lang.String mode)
          Lock the file referred to by fd.
 
Methods inherited from class java.io.File
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toString, toURI, toURL
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

loaded

protected static final boolean loaded
Constructor Detail

UNIXFile

public UNIXFile(java.lang.String name)
Method Detail

lastAccessed

public static long lastAccessed(java.io.File file)
Return the access time of the file.


lastAccessed

public long lastAccessed()

lock

public static boolean lock(java.io.FileDescriptor fd,
                           java.lang.String mode)
Lock the file referred to by fd. The string mode is "r" for a read lock or "rw" for a write lock. Don't block if lock can't be acquired.


lastAccessed0

public static long lastAccessed0(java.lang.String name)