public class GmailStore extends IMAPStore
authorizationID, defaultPort, host, ID_ADDRESS, ID_ARGUMENTS, ID_COMMAND, ID_DATE, ID_ENVIRONMENT, ID_NAME, ID_OS, ID_OS_VERSION, ID_SUPPORT_URL, ID_VENDOR, ID_VERSION, isSSL, logger, name, password, proxyAuthUser, RESPONSE, saslRealm, user| Modifier | Constructor and Description |
|---|---|
|
GmailStore(Session session,
URLName url)
Constructor that takes a Session object and a URLName that
represents a specific IMAP server.
|
protected |
GmailStore(Session session,
URLName url,
String name,
boolean isSSL)
Constructor used by GmailSSLStore subclass.
|
| Modifier and Type | Method and Description |
|---|---|
protected IMAPFolder |
newIMAPFolder(ListInfo li)
Create an IMAPFolder object.
|
protected IMAPFolder |
newIMAPFolder(String fullName,
char separator,
Boolean isNamespace)
Create an IMAPFolder object.
|
protected IMAPProtocol |
newIMAPProtocol(String host,
int port) |
protected boolean |
protocolConnect(String host,
int pport,
String user,
String password) |
close, finalize, getDefaultFolder, getFolder, getFolder, getPersonalNamespaces, getProxyAuthUser, getQuota, getSharedNamespaces, getUserNamespaces, handleResponse, hasCapability, id, idle, isConnected, isSSL, newIMAPFolder, preLogin, setPassword, setProxyAuthUser, setQuota, setUsernameaddFolderListener, addStoreListener, notifyFolderListeners, notifyFolderRenamedListeners, notifyStoreListeners, removeFolderListener, removeStoreListeneraddConnectionListener, connect, connect, connect, connect, getURLName, notifyConnectionListeners, queueEvent, removeConnectionListener, setConnected, setURLName, toStringpublic GmailStore(Session session, URLName url)
protected boolean protocolConnect(String host, int pport, String user, String password) throws MessagingException
protocolConnect in class IMAPStoreMessagingExceptionprotected IMAPProtocol newIMAPProtocol(String host, int port) throws IOException, ProtocolException
newIMAPProtocol in class IMAPStoreIOExceptionProtocolExceptionprotected IMAPFolder newIMAPFolder(String fullName, char separator, Boolean isNamespace)
newIMAPFolder in class IMAPStoreprotected IMAPFolder newIMAPFolder(ListInfo li)
newIMAPFolder in class IMAPStoreCopyright © 2013 Oracle. All Rights Reserved.