Class 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 Detail

      • EMLParser

        public EMLParser()
    • Method Detail

      • 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)
      • 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