com.sun.mail.mbox
Class UNIXInbox

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

public class UNIXInbox
extends UNIXFolder
implements InboxFile

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.mail.mbox.UNIXFolder
file
 
Fields inherited from class com.sun.mail.mbox.UNIXFile
loaded
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
UNIXInbox(java.lang.String user, java.lang.String name)
           
 
Method Summary
 void closeLock()
           
 boolean lock(java.lang.String mode)
           
 boolean openLock(java.lang.String mode)
           
 void touchlock()
           
 void unlock()
           
 
Methods inherited from class com.sun.mail.mbox.UNIXFolder
getFD
 
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.MailFile
getFD
 
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
 

Constructor Detail

UNIXInbox

public UNIXInbox(java.lang.String user,
                 java.lang.String name)
Method Detail

lock

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

unlock

public void unlock()
Specified by:
unlock in interface MailFile
Overrides:
unlock in class UNIXFolder

touchlock

public void touchlock()
Specified by:
touchlock in interface MailFile
Overrides:
touchlock in class UNIXFolder

openLock

public boolean openLock(java.lang.String mode)
Specified by:
openLock in interface InboxFile

closeLock

public void closeLock()
Specified by:
closeLock in interface InboxFile