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, valuesequals, hashCode, toStringpublic 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.NoSuchProviderExceptionjavax.mail.MessagingExceptionpublic 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.NoSuchProviderExceptionjavax.mail.MessagingExceptionpublic void setDebug(boolean debug)
Copyright © 2015 OpenEstate. All rights reserved.