|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.mail.Service
javax.mail.Store
org.apache.geronimo.mail.AbstractStore
Apache implementation of a generic store. May be subclassed for optimisation for specific protocols.
Field Summary |
Fields inherited from class javax.mail.Service |
debug, session, url |
Constructor Summary | |
AbstractStore(javax.mail.Session session,
javax.mail.URLName name)
|
Method Summary | |
javax.mail.Folder |
getDefaultFolder()
Returns the folder called INBOX unless a subclass overrides it |
javax.mail.Folder |
getFolder(String name)
Delegates the method to the new URLName class |
Methods inherited from class javax.mail.Store |
addFolderListener, addStoreListener, getFolder, getPersonalNamespaces, getSharedNamespaces, getUserNamespaces, notifyFolderListeners, notifyFolderRenamedListeners, notifyStoreListeners, removeFolderListener, removeStoreListener |
Methods inherited from class javax.mail.Service |
addConnectionListener, close, connect, connect, connect, finalize, getURLName, isConnected, notifyConnectionListeners, protocolConnect, queueEvent, removeConnectionListener, setConnected, setURLName, toString |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AbstractStore(javax.mail.Session session, javax.mail.URLName name)
session
- the Session
this store is associated withname
- the @{link URLName} of this storeMethod Detail |
public javax.mail.Folder getDefaultFolder() throws javax.mail.MessagingException
INBOX
unless a subclass overrides it
javax.mail.MessagingException
public javax.mail.Folder getFolder(String name) throws javax.mail.MessagingException
javax.mail.MessagingException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |