public class OutlookTextExtractor extends POIOLE2TextExtractor
document
Constructor and Description |
---|
OutlookTextExtractor(DirectoryNode poifsDir) |
OutlookTextExtractor(java.io.InputStream inp) |
OutlookTextExtractor(MAPIMessage msg) |
OutlookTextExtractor(POIFSFileSystem fs) |
Modifier and Type | Method and Description |
---|---|
MAPIMessage |
getMAPIMessage()
Returns the underlying MAPI message
|
java.lang.String |
getText()
Outputs something a little like a RFC822 email
|
protected void |
handleEmails(java.lang.StringBuilder 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) |
getDocSummaryInformation, getDocument, getMetadataTextExtractor, getRoot, getSummaryInformation
close, setFilesystem
public OutlookTextExtractor(MAPIMessage msg)
public OutlookTextExtractor(DirectoryNode poifsDir) throws java.io.IOException
java.io.IOException
public OutlookTextExtractor(POIFSFileSystem fs) throws java.io.IOException
java.io.IOException
public OutlookTextExtractor(java.io.InputStream inp) throws java.io.IOException
java.io.IOException
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.StringBuilder s, java.lang.String type, java.lang.String displayText, StringUtil.StringsIterator emails)
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.