|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.POITextExtractor org.apache.poi.POIOLE2TextExtractor org.apache.poi.hsmf.extractor.OutlookTextExtactor
public class OutlookTextExtactor
A text extractor for HSMF (Outlook) .msg files. Outputs in a format somewhat like a plain text email.
Field Summary |
---|
Fields inherited from class org.apache.poi.POITextExtractor |
---|
document |
Constructor Summary | |
---|---|
OutlookTextExtactor(DirectoryNode poifsDir)
|
|
OutlookTextExtactor(DirectoryNode poifsDir,
POIFSFileSystem fs)
Deprecated. |
|
OutlookTextExtactor(java.io.InputStream inp)
|
|
OutlookTextExtactor(MAPIMessage msg)
|
|
OutlookTextExtactor(NPOIFSFileSystem fs)
|
|
OutlookTextExtactor(POIFSFileSystem fs)
|
Method Summary | |
---|---|
MAPIMessage |
getMAPIMessage()
Returns the underlying MAPI message |
java.lang.String |
getText()
Outputs something a little like a RFC822 email |
protected void |
handleEmails(java.lang.StringBuffer s,
java.lang.String type,
java.lang.String displayText,
StringUtil.StringsIterator emails)
Takes a Display focused string, eg "Nick; Jim" and an iterator of emails, and does its best to return something like "Nick |
static void |
main(java.lang.String[] args)
|
Methods inherited from class org.apache.poi.POIOLE2TextExtractor |
---|
getDocSummaryInformation, getFileSystem, getMetadataTextExtractor, getRoot, getSummaryInformation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OutlookTextExtactor(MAPIMessage msg)
@Deprecated public OutlookTextExtactor(DirectoryNode poifsDir, POIFSFileSystem fs) throws java.io.IOException
OutlookTextExtactor(DirectoryNode)
instead
java.io.IOException
public OutlookTextExtactor(DirectoryNode poifsDir) throws java.io.IOException
java.io.IOException
public OutlookTextExtactor(POIFSFileSystem fs) throws java.io.IOException
java.io.IOException
public OutlookTextExtactor(NPOIFSFileSystem fs) throws java.io.IOException
java.io.IOException
public OutlookTextExtactor(java.io.InputStream inp) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public MAPIMessage getMAPIMessage()
public java.lang.String getText()
getText
in class POITextExtractor
protected void handleEmails(java.lang.StringBuffer s, java.lang.String type, java.lang.String displayText, StringUtil.StringsIterator emails)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |