|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.openexchange.mail.structure.parser.MIMEStructureParser
public final class MIMEStructureParser
| Method Summary | |
|---|---|
MailMessage |
parseStructure(org.json.JSONObject jsonStructure)
Parses specified JSON mail structure to a MailMessage instance. |
ComposedMailMessage |
parseStructure(org.json.JSONObject jsonStructure,
com.openexchange.session.Session session)
Parses specified JSON mail structure to a transportable ComposedMailMessage instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public MailMessage parseStructure(org.json.JSONObject jsonStructure)
throws MailException
MailMessage instance.
jsonStructure - The JSON mail structure
MailMessage instance
MailException - If parsing fails
public ComposedMailMessage parseStructure(org.json.JSONObject jsonStructure,
com.openexchange.session.Session session)
throws MailException
ComposedMailMessage instance.
jsonStructure - The JSON mail structuresession - The session
ComposedMailMessage instance
MailException - If parsing fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||