org.silverpeas.util.mail
Class MSGExtractor

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

public class MSGExtractor
extends Object
implements MailExtractor


Constructor Summary
MSGExtractor(File file)
           
MSGExtractor(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
 

Constructor Detail

MSGExtractor

public MSGExtractor(File file)
             throws ExtractorException
Throws:
ExtractorException

MSGExtractor

public MSGExtractor(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.