ePOST API

rice.email.proxy.mailbox.filebox
Class FileFolder

java.lang.Object
  extended by rice.email.proxy.mailbox.filebox.FileFolder
All Implemented Interfaces:
MailFolder

public class FileFolder
extends java.lang.Object
implements MailFolder


Constructor Summary
FileFolder(java.io.File folder, java.lang.String name)
           
 
Method Summary
 void copy(MovingMessage[] messages, java.util.List[] flags, long[] dates)
           
 MailFolder createChild(java.lang.String name)
           
 void delete()
           
 MailFolder getChild(java.lang.String name)
           
 MailFolder[] getChildren()
           
 int getExists()
           
 java.lang.String getFullName()
           
 java.util.List getMessages(MsgFilter range)
          Obtains a list of StoredMessages in this folder that fall within the designated range.
 int getNextUID()
           
 int getRecent()
           
 java.lang.String getUIDValidity()
           
 void purge(StoredMessage[] messages)
           
 void put(MovingMessage msg)
           
 void put(MovingMessage msg, java.util.List flags, long date)
           
 void update(StoredMessage[] messages)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileFolder

public FileFolder(java.io.File folder,
                  java.lang.String name)
           throws MailboxException
Throws:
MailboxException
Method Detail

getFullName

public java.lang.String getFullName()
Specified by:
getFullName in interface MailFolder

createChild

public MailFolder createChild(java.lang.String name)
                       throws MailboxException
Specified by:
createChild in interface MailFolder
Throws:
MailboxException

delete

public void delete()
            throws MailboxException
Specified by:
delete in interface MailFolder
Throws:
MailboxException

put

public void put(MovingMessage msg,
                java.util.List flags,
                long date)
         throws MailboxException
Specified by:
put in interface MailFolder
Throws:
MailboxException

put

public void put(MovingMessage msg)
         throws MailboxException
Specified by:
put in interface MailFolder
Throws:
MailboxException

getMessages

public java.util.List getMessages(MsgFilter range)
                           throws MailboxException
Description copied from interface: MailFolder
Obtains a list of StoredMessages in this folder that fall within the designated range.

Specified by:
getMessages in interface MailFolder
Throws:
MailboxException

getUIDValidity

public java.lang.String getUIDValidity()
                                throws MailboxException
Specified by:
getUIDValidity in interface MailFolder
Throws:
MailboxException

getNextUID

public int getNextUID()
               throws MailboxException
Specified by:
getNextUID in interface MailFolder
Throws:
MailboxException

getExists

public int getExists()
              throws MailboxException
Specified by:
getExists in interface MailFolder
Throws:
MailboxException

getRecent

public int getRecent()
              throws MailboxException
Specified by:
getRecent in interface MailFolder
Throws:
MailboxException

copy

public void copy(MovingMessage[] messages,
                 java.util.List[] flags,
                 long[] dates)
          throws MailboxException
Specified by:
copy in interface MailFolder
Throws:
MailboxException

purge

public void purge(StoredMessage[] messages)
           throws MailboxException
Specified by:
purge in interface MailFolder
Throws:
MailboxException

update

public void update(StoredMessage[] messages)
            throws MailboxException
Specified by:
update in interface MailFolder
Throws:
MailboxException

getChild

public MailFolder getChild(java.lang.String name)
                    throws MailboxException
Specified by:
getChild in interface MailFolder
Throws:
MailboxException

getChildren

public MailFolder[] getChildren()
                         throws MailboxException
Specified by:
getChildren in interface MailFolder
Throws:
MailboxException

ePOST API

Copyright © 2001-2005 - Rice Pastry.