|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.antelmann.net.mail.POP3Account.Config
public static class POP3Account.Config
encapsulates the configuration for an EmailAccount
| Field Summary | |
|---|---|
boolean |
accessInboxBeforeSend
|
boolean |
authentication
|
boolean |
debug
|
String |
from
|
String |
password
|
String |
pop3Server
|
boolean |
requireTLS
|
boolean |
smtpOverSSL
|
String |
smtpPassword
|
int |
smtpPort
|
String |
smtpServer
|
String |
smtpUser
|
String |
user
|
| Constructor Summary | |
|---|---|
POP3Account.Config()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
void |
exportXML(OutputStream out)
exports the entire object as XML and writes it to the given Writer, so that the object can be reconstructed with importXML(InputSource). |
int |
hashCode()
|
void |
importXML(InputStream source)
The object is fully reinitialized with the XML data contained in the given ImputSource, so that the object has the same state as it had during export. |
void |
loadFromProperties(Map<?,?> props,
String prefix)
|
void |
setAllFrom(POP3Account.Config s)
copies the properties of the given object and applies them to this instance, so that its behavior in regards to the given object can be matched to the extend that the implementing class supports that behavior. |
String |
toDetailedString()
provides full details of this instance in a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String pop3Server
public String user
public String password
public String smtpServer
public String smtpUser
public String smtpPassword
public int smtpPort
public boolean smtpOverSSL
public String from
public boolean authentication
public boolean accessInboxBeforeSend
public boolean requireTLS
public boolean debug
| Constructor Detail |
|---|
public POP3Account.Config()
| Method Detail |
|---|
public String toDetailedString()
DetailedString
toDetailedString in interface DetailedString
public void exportXML(OutputStream out)
throws IOException
XMLSerializableimportXML(InputSource).
The given stream is neither flushed nor closed, so that other data may be
effectively written to the InputSource after the method returned.
exportXML in interface XMLSerializableIOExceptionXMLSerializable.importXML(InputStream)
public void importXML(InputStream source)
throws SAXException,
IOException,
ClassCastException
XMLSerializable
importXML in interface XMLSerializableSAXException
IOException
ClassCastExceptionXMLSerializable.exportXML(OutputStream)
public void setAllFrom(POP3Account.Config s)
throws NullPointerException,
IllegalArgumentException
Forgeable
setAllFrom in interface Forgeable<POP3Account.Config>s - the object whose behavior is to be copied to this instance
NullPointerException - if the given object parameter is null
IllegalArgumentException - if the given object contains properties that
for some reason cannot be copied to this instance
public void loadFromProperties(Map<?,?> props,
String prefix)
throws NullPointerException,
IllegalArgumentException
NullPointerException
IllegalArgumentExceptionpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||