public final class PublisherTextExtractor extends POIOLE2TextExtractor
document| Constructor and Description |
|---|
PublisherTextExtractor(DirectoryNode dir) |
PublisherTextExtractor(DirectoryNode dir,
POIFSFileSystem fs)
Deprecated.
|
PublisherTextExtractor(HPBFDocument doc) |
PublisherTextExtractor(java.io.InputStream is) |
PublisherTextExtractor(NPOIFSFileSystem fs) |
PublisherTextExtractor(POIFSFileSystem fs) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getText()
Retrieves all the text from the document.
|
static void |
main(java.lang.String[] args) |
void |
setHyperlinksByDefault(boolean hyperlinksByDefault)
Should a call to getText() return hyperlinks inline
with the text?
|
getDocSummaryInformation, getFileSystem, getMetadataTextExtractor, getRoot, getSummaryInformationclosepublic PublisherTextExtractor(HPBFDocument doc)
public PublisherTextExtractor(DirectoryNode dir) throws java.io.IOException
java.io.IOExceptionpublic PublisherTextExtractor(POIFSFileSystem fs) throws java.io.IOException
java.io.IOExceptionpublic PublisherTextExtractor(NPOIFSFileSystem fs) throws java.io.IOException
java.io.IOExceptionpublic PublisherTextExtractor(java.io.InputStream is)
throws java.io.IOException
java.io.IOException@Deprecated public PublisherTextExtractor(DirectoryNode dir, POIFSFileSystem fs) throws java.io.IOException
java.io.IOExceptionpublic void setHyperlinksByDefault(boolean hyperlinksByDefault)
public java.lang.String getText()
POITextExtractorgetText in class POITextExtractorpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright 2014 The Apache Software Foundation or its licensors, as applicable.