org.silverpeas.util.mail
Class EMLExtractor

java.lang.Object
  extended by org.silverpeas.util.mail.EMLExtractor
All Implemented Interfaces:
MailExtractor

public class EMLExtractor
extends Object
implements MailExtractor


Field Summary
static org.apache.commons.lang3.text.translate.CharSequenceTranslator ESCAPE_ISO8859_1
           
 
Constructor Summary
EMLExtractor(File file)
           
EMLExtractor(InputStream file)
           
 
Method Summary
 List<MailAttachment> getAttachments()
           
 Mail getMail()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ESCAPE_ISO8859_1

public static final org.apache.commons.lang3.text.translate.CharSequenceTranslator ESCAPE_ISO8859_1
Constructor Detail

EMLExtractor

public EMLExtractor(File file)
             throws ExtractorException
Throws:
ExtractorException

EMLExtractor

public EMLExtractor(InputStream file)
             throws ExtractorException
Throws:
ExtractorException
Method Detail

getMail

public Mail getMail()
             throws Exception
Specified by:
getMail in interface MailExtractor
Throws:
Exception

getAttachments

public List<MailAttachment> getAttachments()
                                    throws Exception
Specified by:
getAttachments in interface MailExtractor
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.