public class ImapReader extends AbstractMailReader
com.sun.mail.imap,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
ImapReader.AuthMethod |
static class |
ImapReader.CryptMethod |
AbstractMailReader.TypeAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>DEBUG| Constructor and Description |
|---|
ImapReader() |
| Modifier and Type | Method and Description |
|---|---|
javax.mail.Session |
createSession(Map<String,String> customProperties) |
ImapReader.AuthMethod |
getAuthMethod() |
char[] |
getAuthPass() |
String |
getAuthUser() |
ImapReader.CryptMethod |
getCryptMethod() |
String |
getHost() |
int |
getPort() |
AbstractMailReader.Type |
getType() |
boolean |
isIdleEnabled() |
protected javax.mail.Store |
openStore(javax.mail.Session session) |
void |
setAuthMethod(ImapReader.AuthMethod authMethod) |
void |
setAuthPass(char[] authPass) |
void |
setAuthUser(String authUser) |
void |
setCryptMethod(ImapReader.CryptMethod cryptMethod) |
void |
setHost(String host) |
void |
setIdleEnabled(boolean enabled) |
void |
setPort(int port) |
createSession, createStore, isDebug, setDebugclear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic javax.mail.Session createSession(Map<String,String> customProperties)
createSession in class AbstractMailReaderpublic ImapReader.AuthMethod getAuthMethod()
public char[] getAuthPass()
public String getAuthUser()
public ImapReader.CryptMethod getCryptMethod()
public String getHost()
public int getPort()
public final AbstractMailReader.Type getType()
getType in class AbstractMailReaderpublic boolean isIdleEnabled()
protected javax.mail.Store openStore(javax.mail.Session session)
throws javax.mail.NoSuchProviderException,
javax.mail.MessagingException
openStore in class AbstractMailReaderjavax.mail.NoSuchProviderExceptionjavax.mail.MessagingExceptionpublic void setAuthMethod(ImapReader.AuthMethod authMethod)
public void setAuthPass(char[] authPass)
public void setAuthUser(String authUser)
public void setCryptMethod(ImapReader.CryptMethod cryptMethod)
public void setHost(String host)
public void setIdleEnabled(boolean enabled)
public void setPort(int port)
Copyright © 2015 OpenEstate. All rights reserved.