| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectjavax.mail.Servicejavax.mail.Storegnu.mail.providers.maildir.MaildirStoreNested Class Summary |
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, getURLName, isConnected, notifyConnectionListeners, protocolConnect, removeConnectionListener, setConnected, setURLName, toString | |
public void addStatusListener(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 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.
- Overrides:
- getFolder in interface Store
public Folder getFolder(URLName urlname) throws MessagingException
Returns the folder specified by the filename of the URLName.
- Overrides:
- getFolder in interface Store
protected void processStatusEvent(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 MessagingExceptionThere isn't a protocol to implement, so this method just returns.
- Overrides:
- protocolConnect in interface Service
public void removeStatusListener(StatusListener l)
Removes a status listener from this store.
- Specified by:
- removeStatusListener in interface StatusSource
- Parameters:
l- the status listener
- See Also:
addStatusListener(StatusListener)