Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
javax.mail.Service
javax.mail.Store
gnu.mail.providers.maildir.MaildirStore
Field Summary |
Constructor Summary | |
|
Method Summary | |
void |
|
Folder |
|
Folder |
|
Folder | |
protected void |
|
protected boolean |
|
void |
|
Methods inherited from class javax.mail.Store | |
addFolderListener , addStoreListener , getDefaultFolder , getFolder , getFolder , getPersonalNamespaces , getSharedNamespaces , getUserNamespaces , notifyFolderListeners , notifyFolderRenamedListeners , notifyStoreListeners , removeFolderListener , removeStoreListener |
Methods inherited from class javax.mail.Service | |
addConnectionListener , close , connect , connect , connect , connect , getURLName , isConnected , notifyConnectionListeners , protocolConnect , queueEvent , removeConnectionListener , setConnected , setURLName , toString |
public void addStatusListener(gnu.mail.treeutil.StatusListener l)
Adds a status listener to this store. The listener will be informed of state changes during potentially lengthy procedures(opening and closing mboxes).
- Specified by:
- addStatusListener in interface gnu.mail.treeutil.StatusSource
- Parameters:
l
- the status listener
- See Also:
removeStatusListener(StatusListener)
public Folder getDefaultFolder() throws MessagingException
Returns the default folder.
- Overrides:
- getDefaultFolder in interface Store
public Folder getFolder(String filename) throws MessagingException
Returns the folder with the specified filename.
public Folder getFolder(URLName urlname) throws MessagingException
Returns the folder specified by the filename of the URLName.
protected void processStatusEvent(gnu.mail.treeutil.StatusEvent event)
Processes a status event. This dispatches the event to all the registered listeners.
- Parameters:
event
- the status event
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.
- Overrides:
- protocolConnect in interface Service
public void removeStatusListener(gnu.mail.treeutil.StatusListener l)
Removes a status listener from this store.
- Specified by:
- removeStatusListener in interface gnu.mail.treeutil.StatusSource
- Parameters:
l
- the status listener
- See Also:
addStatusListener(StatusListener)