rice.email.proxy.mailbox.filebox
Class FileFolder
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileFolder
public FileFolder(java.io.File folder,
java.lang.String name)
throws MailboxException
- Throws:
MailboxException
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
StoredMessage
s 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
Copyright © 2001-2005 - Rice Pastry.