gnu.mail.providers.mbox
Class MboxStore
- StatusSource
public final class MboxStore
The storage class implementing the Mbox mailbox file format.
addFolderListener , addStoreListener , getDefaultFolder , getFolder , getFolder , getPersonalNamespaces , getSharedNamespaces , getUserNamespaces , notifyFolderListeners , notifyFolderRenamedListeners , notifyStoreListeners , removeFolderListener , removeStoreListener |
addConnectionListener , close , connect , connect , connect , getURLName , isConnected , notifyConnectionListeners , protocolConnect , removeConnectionListener , setConnected , setURLName , toString |
MboxStore
public MboxStore(Session session,
URLName urlname)
Constructor.
getFolder
public Folder getFolder(String filename)
throws MessagingException
Returns the folder with the specified filename.
- getFolder in interface Store
processStatusEvent
protected void processStatusEvent(StatusEvent event)
Processes a status event.
This dispatches the event to all the registered listeners.
event
- the status event
protocolConnect
protected boolean protocolConnect(String host,
int port,
String username,
String password)
throws MessagingException
There isn't a protocol to implement, so this method just returns.
- protocolConnect in interface Service