public final class FolderParser
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
parse(org.json.JSONObject jsonObj,
MailFolderDescription mailFolder,
com.openexchange.session.Session session,
int accountId)
Parses given instance of
JSONObject to given instance of MailFolder |
public static void parse(org.json.JSONObject jsonObj,
MailFolderDescription mailFolder,
com.openexchange.session.Session session,
int accountId)
throws com.openexchange.exception.OXException
JSONObject to given instance of MailFolderjsonObj - The JSON object (source)mailFolder - The mail folder (target), which should be emptysession - The sessionaccountId - The account IDcom.openexchange.exception.OXException - If parsing fails