|
synchronized
void
|
close()
Close this Store.
|
|
void
|
finalize()
Stop the event dispatcher thread so the queue can be garbage collected.
|
|
synchronized
Folder
|
getDefaultFolder()
Get the default folder, representing the root of this user's
namespace.
|
|
synchronized
Folder
|
getFolder(URLName url)
Get named folder.
|
|
synchronized
Folder
|
getFolder(String name)
Get named folder.
|
|
Folder[]
|
getPersonalNamespaces()
Using the IMAP NAMESPACE command (RFC 2342), return a set
of folders representing the Personal namespaces.
|
|
synchronized
Quota[]
|
getQuota(String root)
Get the quotas for the named quota root.
|
|
Folder[]
|
getSharedNamespaces()
Using the IMAP NAMESPACE command (RFC 2342), return a set
of folders representing the Shared namespaces.
|
|
Folder[]
|
getUserNamespaces(String user)
Using the IMAP NAMESPACE command (RFC 2342), return a set
of folders representing the User's namespaces.
|
|
void
|
handleResponse(Response r)
Response handler method.
|
|
synchronized
boolean
|
hasCapability(String capability)
Return true if the specified capability string is in the list
of capabilities the server announced.
|
|
void
|
idle()
Use the IMAP IDLE command (see
RFC 2177),
if supported by the server, to enter idle mode so that the server
can send unsolicited notifications
without the need for the client to constantly poll the server.
|
|
synchronized
boolean
|
isConnected()
Check whether this store is connected.
|
|
IMAPFolder
|
newIMAPFolder(String fullName, char separator, Boolean isNamespace)
Create an IMAPFolder object.
|
|
IMAPFolder
|
newIMAPFolder(String fullName, char separator)
Create an IMAPFolder object.
|
|
IMAPFolder
|
newIMAPFolder(ListInfo li)
Create an IMAPFolder object.
|
|
void
|
preLogin(IMAPProtocol p)
This method is called after the connection is made and
TLS is started (if needed), but before any authentication
is attempted.
|
|
synchronized
boolean
|
protocolConnect(String host, int pport, String user, String password)
Implementation of protocolConnect().
|
|
synchronized
void
|
setPassword(String password)
Set the password that will be used for subsequent connections
after this Store is first connected (for example, when creating
a connection to open a GmailFolder).
|
|
synchronized
void
|
setQuota(Quota quota)
Set the quotas for the quota root specified in the quota argument.
|
|
synchronized
void
|
setUsername(String user)
Set the user name that will be used for subsequent connections
after this Store is first connected (for example, when creating
a connection to open a GmailFolder).
|