public final class PublisherTextExtractor extends java.lang.Object implements POIOLE2TextExtractor
| Constructor and Description |
|---|
PublisherTextExtractor(DirectoryNode dir) |
PublisherTextExtractor(HPBFDocument doc) |
PublisherTextExtractor(java.io.InputStream is) |
PublisherTextExtractor(POIFSFileSystem fs) |
| Modifier and Type | Method and Description |
|---|---|
HPBFDocument |
getDocument() |
HPBFDocument |
getFilesystem() |
java.lang.String |
getText() |
boolean |
isCloseFilesystem() |
void |
setCloseFilesystem(boolean doCloseFilesystem) |
void |
setHyperlinksByDefault(boolean hyperlinksByDefault)
Should a call to getText() return hyperlinks inline
with the text?
Default is no
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocSummaryInformation, 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(java.io.InputStream is)
throws java.io.IOException
java.io.IOExceptionpublic void setHyperlinksByDefault(boolean hyperlinksByDefault)
public java.lang.String getText()
getText in interface POITextExtractorpublic HPBFDocument getDocument()
getDocument in interface POIOLE2TextExtractorgetDocument in interface POITextExtractorpublic void setCloseFilesystem(boolean doCloseFilesystem)
setCloseFilesystem in interface POITextExtractorpublic boolean isCloseFilesystem()
isCloseFilesystem in interface POITextExtractorpublic HPBFDocument getFilesystem()
getFilesystem in interface POITextExtractor