|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--dtw.webmail.util.config.PostOffice
This class...
| Field Summary | |
static java.lang.String |
TYPE_MIXED
Defines a mixed type post office, were folders in the store can have subfolders and messages at the same time. |
static java.lang.String |
TYPE_PLAIN
Defines a plain type post office, were folders in the store cannot have subfolders and messages at the same time. |
| Constructor Summary | |
PostOffice()
Constructs a new PostOffice instance. |
|
| Method Summary | |
java.lang.String |
getAddress()
Returns the internet address of this PostOffice. |
java.lang.String |
getName()
Returns a common name for this PostOffice. |
int |
getPort()
Returns the port of this PostOffice. |
java.lang.String |
getProtocol()
Returns the protocol required for this PostOffice. |
java.lang.String |
getReplyToDomain()
Returns the reply-to domain setting for this PostOffice. |
java.lang.String |
getRootFolder()
Returns the default root folder this PostOffice. |
java.lang.String |
getType()
Returns the type of this PostOffice. |
boolean |
isDefault()
Tests if this PostOffice is the default. |
boolean |
isSecure()
Tests if the communication with this PostOffice should be secure. |
boolean |
isType(java.lang.String type)
Tests if this PostOffice is of a given type. |
void |
setAddress(java.lang.String address)
Sets the internet address of this PostOffice. |
void |
setDefault(boolean aDefault)
Sets the default flag for this PostOffice. |
void |
setName(java.lang.String name)
Sets the common name for this PostOffice. |
void |
setPort(int port)
Sets the port of this this PostOffice. |
void |
setProtocol(java.lang.String protocol)
Sets the protocol required for this PostOffice. |
void |
setReplyToDomain(java.lang.String domain)
Sets the reply-to domain for this PostOffice. |
void |
setRootFolder(java.lang.String folder)
Sets the default root folder for this PostOffice. |
void |
setSecure(boolean secure)
Sets the communication with this PostOffice to be secure. |
void |
setType(java.lang.String type)
Sets the type of this PostOffice. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String TYPE_MIXED
public static final java.lang.String TYPE_PLAIN
| Constructor Detail |
public PostOffice()
| Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name - the name as String.public java.lang.String getProtocol()
public void setProtocol(java.lang.String protocol)
protocol - the protocol as String.public java.lang.String getType()
TYPE_MIXED,
TYPE_PLAINpublic void setType(java.lang.String type)
type - the type as String.TYPE_MIXED,
TYPE_PLAINpublic boolean isType(java.lang.String type)
TYPE_MIXED,
TYPE_PLAINpublic java.lang.String getAddress()
public void setAddress(java.lang.String address)
address - the address as String.public int getPort()
public void setPort(int port)
port - the port as intpublic boolean isSecure()
#getSecureSocketFactory()public void setSecure(boolean secure)
secure - true if secure, false otherwise.#setSecureSocketFactory(String factory)public java.lang.String getRootFolder()
public void setRootFolder(java.lang.String folder)
folder - the folder as String.public java.lang.String getReplyToDomain()
public void setReplyToDomain(java.lang.String domain)
domain - the reply-to domain as String.public boolean isDefault()
public void setDefault(boolean aDefault)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||