rice.email.proxy.mailbox.filebox
Class FileMailbox
java.lang.Object
rice.email.proxy.mailbox.filebox.FileMailbox
-
All Implemented Interfaces:
- Mailbox
-
public class FileMailbox
- extends java.lang.Object
- implements Mailbox
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileMailbox
public FileMailbox(java.io.File folder,
Environment env)
throws NoSuchMailboxException
-
Throws:
NoSuchMailboxException
getHierarchyDelimiter
public java.lang.String getHierarchyDelimiter()
-
- Specified by:
-
getHierarchyDelimiter
in interface Mailbox
-
put
public void put(MovingMessage msg)
throws MailboxException
-
- Specified by:
-
put
in interface Mailbox
-
-
Throws:
MailboxException
renameFolder
public void renameFolder(java.lang.String old_name,
java.lang.String new_name)
throws MailboxException
-
- Specified by:
-
renameFolder
in interface Mailbox
-
-
Throws:
MailboxException
getFolder
public MailFolder getFolder(java.lang.String folder)
throws MailboxException
-
- Specified by:
-
getFolder
in interface Mailbox
-
-
Throws:
MailboxException
createFolder
public void createFolder(java.lang.String folder)
throws MailboxException
-
- Specified by:
-
createFolder
in interface Mailbox
-
-
Throws:
MailboxException
deleteFolder
public void deleteFolder(java.lang.String folder)
throws MailboxException
-
- Specified by:
-
deleteFolder
in interface Mailbox
-
-
Throws:
MailboxException
listFolders
public MailFolder[] listFolders(java.lang.String pattern)
throws MailboxException
-
- Specified by:
-
listFolders
in interface Mailbox
-
-
Throws:
MailboxException
subscribe
public void subscribe(java.lang.String fullName)
throws MailboxException
-
- Specified by:
-
subscribe
in interface Mailbox
-
-
Throws:
MailboxException
unsubscribe
public void unsubscribe(java.lang.String fullName)
throws MailboxException
-
- Specified by:
-
unsubscribe
in interface Mailbox
-
-
Throws:
MailboxException
listSubscriptions
public java.lang.String[] listSubscriptions(java.lang.String pattern)
throws MailboxException
-
- Specified by:
-
listSubscriptions
in interface Mailbox
-
-
Throws:
MailboxException
Copyright © 2001-2005 - Rice Pastry.