com.sun.mail.mbox
Class UNIXFolder

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

public class UNIXFolder
extends UNIXFile
implements MailFile

See Also:
Serialized Form

Field Summary
protected  java.io.RandomAccessFile file
           
 
Fields inherited from class com.sun.mail.mbox.UNIXFile
loaded
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
UNIXFolder(java.lang.String name)
           
 
Method Summary
 java.io.FileDescriptor getFD()
           
 boolean lock(java.lang.String mode)
           
 void touchlock()
           
 void unlock()
           
 
Methods inherited from class com.sun.mail.mbox.UNIXFile
lastAccessed, lastAccessed, lastAccessed0, lock
 
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
 
Methods inherited from interface com.sun.mail.mbox.FileInterface
canRead, canWrite, delete, exists, getAbsolutePath, getName, getParent, getPath, isAbsolute, isDirectory, isFile, lastModified, length, list, list, mkdir, mkdirs, renameTo
 

Field Detail

file

protected transient java.io.RandomAccessFile file
Constructor Detail

UNIXFolder

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

lock

public boolean lock(java.lang.String mode)
Specified by:
lock in interface MailFile

unlock

public void unlock()
Specified by:
unlock in interface MailFile

touchlock

public void touchlock()
Specified by:
touchlock in interface MailFile

getFD

public java.io.FileDescriptor getFD()
Specified by:
getFD in interface MailFile