|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.openexchange.mail.dataobjects.MailStructure
public final class MailStructure
MailStructure - Represents a mail structure
| Constructor Summary | |
|---|---|
MailStructure()
Initializes a new MailStructure |
|
MailStructure(ContentType contentType)
Initializes a new MailStructure |
|
| Method Summary | |
|---|---|
void |
addSubStructure(MailStructure mailStructure)
Adds a sub-structure |
ContentType |
getContentType()
Gets the content type |
static MailStructure |
getMailStructure(MailMessage mail)
Generates the corresponding mail structure for specified mail message. |
MailStructure[] |
getSubStructures()
Gets this mail structure's sub-structures |
void |
setContentType(ContentType contentType)
Sets the content type |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MailStructure()
MailStructure
public MailStructure(ContentType contentType)
MailStructure
contentType - The content type| Method Detail |
|---|
public ContentType getContentType()
public void setContentType(ContentType contentType)
contentType - The content typepublic void addSubStructure(MailStructure mailStructure)
mailStructure - The sub-structure to addpublic MailStructure[] getSubStructures()
public static MailStructure getMailStructure(MailMessage mail)
throws MailException
mail - The mail message
MailException - If a mail error occurspublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||