public final class PublisherTextExtractor extends POIOLE2TextExtractor
document
Constructor and Description |
---|
PublisherTextExtractor(DirectoryNode dir) |
PublisherTextExtractor(HPBFDocument doc) |
PublisherTextExtractor(java.io.InputStream is) |
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?
Default is no
|
getDocSummaryInformation, getDocument, getMetadataTextExtractor, getRoot, getSummaryInformation
close, setFilesystem
public PublisherTextExtractor(HPBFDocument doc)
public PublisherTextExtractor(DirectoryNode dir) throws java.io.IOException
java.io.IOException
public PublisherTextExtractor(POIFSFileSystem fs) throws java.io.IOException
java.io.IOException
public PublisherTextExtractor(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public void setHyperlinksByDefault(boolean hyperlinksByDefault)
public java.lang.String getText()
POITextExtractor
getText
in class POITextExtractor
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.