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 Details

    • EMLParser

      public EMLParser()
  • Method Details

    • isExtractHeaders

      public boolean isExtractHeaders()
    • setExtractHeaders

      public void setExtractHeaders(boolean extractHeaders)
    • parse

      public String parse(javax.mail.Message message)
    • parse

      public void parse(javax.mail.Message message, StringBuilder output)
    • internalParse

      public void internalParse(InputStream input, com.logicaldoc.core.parser.ParseParameters parameters, StringBuilder output)
    • countPages

      public int countPages(InputStream input, String filename)
      Each attachment is considered as an additional page
      Specified by:
      countPages in interface com.logicaldoc.core.parser.Parser
      Overrides:
      countPages in class com.logicaldoc.core.parser.AbstractParser