public class ImapReader extends AbstractMailReader
com.sun.mail.imap
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
ImapReader.AuthMethod |
static class |
ImapReader.CryptMethod |
AbstractMailReader.Type
AbstractMap.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, setDebug
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode, toString
public javax.mail.Session createSession(Map<String,String> customProperties)
createSession
in class AbstractMailReader
public 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 AbstractMailReader
public boolean isIdleEnabled()
protected javax.mail.Store openStore(javax.mail.Session session) throws javax.mail.NoSuchProviderException, javax.mail.MessagingException
openStore
in class AbstractMailReader
javax.mail.NoSuchProviderException
javax.mail.MessagingException
public 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.