javax.mail
Class Store
java.lang.Object
javax.mail.Service
javax.mail.Store
- public abstract class Store
- extends Service
- Version:
- $Revision: 1.3 $ $Date: 2004/03/10 10:00:27 $
Methods inherited from class javax.mail.Service |
addConnectionListener, close, connect, connect, connect, finalize, getURLName, isConnected, notifyConnectionListeners, protocolConnect, queueEvent, removeConnectionListener, setConnected, setURLName, toString |
Store
protected Store(Session session,
URLName name)
addFolderListener
public void addFolderListener(FolderListener listener)
addStoreListener
public void addStoreListener(StoreListener listener)
getDefaultFolder
public abstract Folder getDefaultFolder()
throws MessagingException
- Throws:
MessagingException
getFolder
public abstract Folder getFolder(String name)
throws MessagingException
- Throws:
MessagingException
getFolder
public abstract Folder getFolder(URLName name)
throws MessagingException
- Throws:
MessagingException
getPersonalNamespaces
public Folder[] getPersonalNamespaces()
throws MessagingException
- Throws:
MessagingException
getSharedNamespaces
public Folder[] getSharedNamespaces()
throws MessagingException
- Throws:
MessagingException
getUserNamespaces
public Folder[] getUserNamespaces(String name)
throws MessagingException
- Throws:
MessagingException
notifyFolderListeners
protected void notifyFolderListeners(int type,
Folder folder)
notifyFolderRenamedListeners
protected void notifyFolderRenamedListeners(Folder oldFolder,
Folder newFolder)
notifyStoreListeners
protected void notifyStoreListeners(int type,
String message)
removeFolderListener
public void removeFolderListener(FolderListener listener)
removeStoreListener
public void removeStoreListener(StoreListener listener)
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.