public final class PublisherTextExtractor extends Object implements POIOLE2TextExtractor
| Constructor and Description |
|---|
PublisherTextExtractor(DirectoryNode dir) |
PublisherTextExtractor(HPBFDocument doc) |
PublisherTextExtractor(InputStream is) |
PublisherTextExtractor(POIFSFileSystem fs) |
| Modifier and Type | Method and Description |
|---|---|
HPBFDocument |
getDocument() |
HPBFDocument |
getFilesystem() |
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 IOException
IOExceptionpublic PublisherTextExtractor(POIFSFileSystem fs) throws IOException
IOExceptionpublic PublisherTextExtractor(InputStream is) throws IOException
IOExceptionpublic void setHyperlinksByDefault(boolean hyperlinksByDefault)
public 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