Java javax.mail Store fields, constructors, methods, implement or subclass

Example usage for Java javax.mail Store fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.mail Store.

The text is from its open source code.

Subclass

javax.mail.Store has subclasses.
Click this link to see all its subclasses.

Method

voidaddStoreListener(StoreListener l)
Add a listener for StoreEvents on this Store.
voidclose()
Close this service and terminate its connection.
voidconnect(String host, String user, String password)
Connect to the specified address.
voidconnect()
A generic connect method that takes no parameters.
voidconnect(String host, int port, String user, String password)
Similar to connect(host, user, password) except a specific port can be specified.
voidconnect(String user, String password)
Connect to the current host using the specified username and password.
FoldergetDefaultFolder()
Returns a Folder object that represents the 'root' of the default namespace presented to the user by the Store.
FoldergetFolder(String name)
Return the Folder object corresponding to the given name.
FoldergetFolder(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.
URLNamegetURLName()
Return a URLName representing this service.
Folder[]getUserNamespaces(String user)
Return a set of folders representing the namespaces for user.
booleanisConnected()
Is this service currently connected?
StringtoString()
Return getURLName.toString() if this service has a URLName, otherwise it will return the default toString.