public class Pop3Reader extends AbstractMailReader
com.sun.mail.pop3
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
Pop3Reader.AuthMethod |
static class |
Pop3Reader.CryptMethod |
AbstractMailReader.Type
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
DEBUG
Constructor and Description |
---|
Pop3Reader() |
Modifier and Type | Method and Description |
---|---|
javax.mail.Session |
createSession(Map<String,String> customProperties) |
Pop3Reader.AuthMethod |
getAuthMethod() |
char[] |
getAuthPass() |
String |
getAuthUser() |
Pop3Reader.CryptMethod |
getCryptMethod() |
String |
getHost() |
int |
getPort() |
AbstractMailReader.Type |
getType() |
boolean |
isRemoveDownloadedMessages() |
static boolean |
isRemoveDownloadedMessages(DbMailAccount account) |
protected javax.mail.Store |
openStore(javax.mail.Session session) |
void |
setAuthMethod(Pop3Reader.AuthMethod authMethod) |
void |
setAuthPass(char[] authPass) |
void |
setAuthUser(String authUser) |
void |
setCryptMethod(Pop3Reader.CryptMethod cryptMethod) |
void |
setHost(String host) |
void |
setPort(int port) |
void |
setRemoveDownloadedMessages(boolean remove) |
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 Pop3Reader.AuthMethod getAuthMethod()
public char[] getAuthPass()
public String getAuthUser()
public Pop3Reader.CryptMethod getCryptMethod()
public String getHost()
public int getPort()
public final AbstractMailReader.Type getType()
getType
in class AbstractMailReader
public boolean isRemoveDownloadedMessages()
public static boolean isRemoveDownloadedMessages(DbMailAccount account)
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(Pop3Reader.AuthMethod authMethod)
public void setAuthPass(char[] authPass)
public void setAuthUser(String authUser)
public void setCryptMethod(Pop3Reader.CryptMethod cryptMethod)
public void setHost(String host)
public void setPort(int port)
public void setRemoveDownloadedMessages(boolean remove)
Copyright © 2015 OpenEstate. All rights reserved.