ePOST API

rice.email.proxy.mailbox.filebox
Class FileMailboxManager

java.lang.Object
  extended by rice.email.proxy.mailbox.filebox.FileMailboxManager
All Implemented Interfaces:
MailboxManager

public class FileMailboxManager
extends java.lang.Object
implements MailboxManager


Constructor Summary
FileMailboxManager(java.io.File base, Environment env)
           
 
Method Summary
 void createMailbox(java.lang.String username)
           
 void destroyMailbox(java.lang.String username)
           
 Mailbox getMailbox(java.lang.String username)
           
 java.lang.String getMailboxType()
           
 java.lang.String getName()
           
 boolean mailboxExists(java.lang.String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileMailboxManager

public FileMailboxManager(java.io.File base,
                          Environment env)
Method Detail

getMailboxType

public java.lang.String getMailboxType()
Specified by:
getMailboxType in interface MailboxManager

getName

public java.lang.String getName()

mailboxExists

public boolean mailboxExists(java.lang.String username)

destroyMailbox

public void destroyMailbox(java.lang.String username)
                    throws MailboxException
Specified by:
destroyMailbox in interface MailboxManager
Throws:
MailboxException

createMailbox

public void createMailbox(java.lang.String username)
                   throws MailboxException
Specified by:
createMailbox in interface MailboxManager
Throws:
MailboxException

getMailbox

public Mailbox getMailbox(java.lang.String username)
                   throws NoSuchMailboxException
Specified by:
getMailbox in interface MailboxManager
Throws:
NoSuchMailboxException

ePOST API

Copyright © 2001-2005 - Rice Pastry.