org.nuxeo.cm.mail.actionpipe
Class ParseMailBody
java.lang.Object
org.nuxeo.cm.mail.actionpipe.AbstractCaseManagementMailAction
org.nuxeo.cm.mail.actionpipe.ParseMailBody
- All Implemented Interfaces:
- MailActionPipeConstants, org.nuxeo.ecm.platform.mail.action.MessageAction
public class ParseMailBody
- extends AbstractCaseManagementMailAction
Parser for mail body.
- Author:
- Laurent Doguin, Sun Seng David TAN
Fields inherited from interface org.nuxeo.cm.mail.actionpipe.MailActionPipeConstants |
ATTACHMENTS_KEY, BODY_KEY, CASEMANAGEMENT_SERVICE_KEY, CORE_SESSION_ID_KEY, MESSAGE_ID_KEY, MIMETYPE_SERVICE_KEY, ORIGINAL_CC_RECIPIENTS_KEY, ORIGINAL_RECEPTION_DATE_KEY, ORIGINAL_SENDER_NAME_KEY, ORIGINAL_SENDERS_KEY, ORIGINAL_TO_RECIPIENTS_KEY, RECEPTION_DATE_KEY, SENDER_EMAIL_KEY, SENDER_KEY, SUBJECT_KEY |
GROUP_TO_FIND_INDEX
public static final Integer GROUP_TO_FIND_INDEX
- The group used to find the index of the header in the body
monthMap
public static final Map<String,Integer> monthMap
ParseMailBody
public ParseMailBody()
initializeMonthMap
public static final void initializeMonthMap()
execute
public boolean execute(org.nuxeo.ecm.platform.mail.action.ExecutionContext context)
throws Exception
- Throws:
Exception
parse
public static void parse(Object content,
Map<String,Object> resultMap)
throws Exception
- Throws:
Exception
reset
public void reset(org.nuxeo.ecm.platform.mail.action.ExecutionContext context)
throws Exception
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.