public abstract class AbstractMailReader extends HashMap<String,String>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractMailReader.Type |
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
AbstractMailReader() |
Modifier and Type | Method and Description |
---|---|
javax.mail.Session |
createSession() |
abstract javax.mail.Session |
createSession(Map<String,String> customProperties) |
javax.mail.Store |
createStore(javax.mail.Session session) |
abstract AbstractMailReader.Type |
getType() |
boolean |
isDebug() |
protected abstract javax.mail.Store |
openStore(javax.mail.Session session) |
void |
setDebug(boolean debug) |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode, toString
public static final String DEBUG
public final javax.mail.Session createSession()
public javax.mail.Store createStore(javax.mail.Session session) throws javax.mail.NoSuchProviderException, javax.mail.MessagingException
javax.mail.NoSuchProviderException
javax.mail.MessagingException
public abstract AbstractMailReader.Type getType()
public boolean isDebug()
protected abstract javax.mail.Store openStore(javax.mail.Session session) throws javax.mail.NoSuchProviderException, javax.mail.MessagingException
javax.mail.NoSuchProviderException
javax.mail.MessagingException
public void setDebug(boolean debug)
Copyright © 2015 OpenEstate. All rights reserved.