Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.mail.actionpipe.parser
Interface MailBodyParser

All Known Implementing Classes:
DefaultEnglishMailParser, DefaultFrenchMailParser, GmailMailParser, ThunderbirdFrenchMailParser

public interface MailBodyParser

Parser that is going to be used by ParseMailBody

Author:
Sun Seng David TAN

Method Summary
 Pattern getHeaderPattern()
          The header pattern used to identify a parser to be used
 boolean parse(Matcher m, Map<String,Object> resultMap)
          Perform the parsing
 

Method Detail

getHeaderPattern

Pattern getHeaderPattern()
The header pattern used to identify a parser to be used

Returns:
the regexp to be used

parse

boolean parse(Matcher m,
              Map<String,Object> resultMap)
Perform the parsing

Parameters:
m -
resultMap -
Returns:

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.