Example usage for Java javax.mail Store fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addStoreListener(StoreListener l) Add a listener for StoreEvents on this Store. |
void | close() Close this service and terminate its connection. |
void | connect(String host, String user, String password) Connect to the specified address. |
void | connect() A generic connect method that takes no parameters. |
void | connect(String host, int port, String user, String password) Similar to connect(host, user, password) except a specific port can be specified. |
void | connect(String user, String password) Connect to the current host using the specified username and password. |
Folder | getDefaultFolder() Returns a Folder object that represents the 'root' of the default namespace presented to the user by the Store. |
Folder | getFolder(String name) Return the Folder object corresponding to the given name. |
Folder | getFolder(URLName url) Return a closed Folder object, corresponding to the given URLName. |
Folder[] | getPersonalNamespaces() Return a set of folders representing the personal namespaces for the current user. |
Folder[] | getSharedNamespaces() Return a set of folders representing the shared namespaces. |
URLName | getURLName() Return a URLName representing this service. |
Folder[] | getUserNamespaces(String user) Return a set of folders representing the namespaces for user . |
boolean | isConnected() Is this service currently connected? |
String | toString() Return getURLName.toString() if this service has a URLName, otherwise it will return the default toString . |