Package com.logicaldoc.parser
Class EMLParser
java.lang.Object
com.logicaldoc.core.parser.AbstractParser
com.logicaldoc.parser.EMLParser
- All Implemented Interfaces:
com.logicaldoc.core.parser.Parser
public class EMLParser
extends com.logicaldoc.core.parser.AbstractParser
Parses Mozilla .eml files
- Since:
- 4.6
- Author:
- Alessandro Gasparini - LogicalDOC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
countPages
(InputStream input, String filename) Each attachment is considered as an additional pagevoid
internalParse
(InputStream input, com.logicaldoc.core.parser.ParseParameters parameters, StringBuilder output) boolean
parse
(javax.mail.Message message) void
parse
(javax.mail.Message message, StringBuilder output) void
setExtractHeaders
(boolean extractHeaders) Methods inherited from class com.logicaldoc.core.parser.AbstractParser
countPages, parse, parse, parse, parse
-
Constructor Details
-
EMLParser
public EMLParser()
-
-
Method Details
-
isExtractHeaders
public boolean isExtractHeaders() -
setExtractHeaders
public void setExtractHeaders(boolean extractHeaders) -
parse
-
parse
-
internalParse
public void internalParse(InputStream input, com.logicaldoc.core.parser.ParseParameters parameters, StringBuilder output) -
countPages
Each attachment is considered as an additional page- Specified by:
countPages
in interfacecom.logicaldoc.core.parser.Parser
- Overrides:
countPages
in classcom.logicaldoc.core.parser.AbstractParser
-