java.io.Closeable
, java.lang.AutoCloseable
public final class PublisherTextExtractor extends POIOLE2TextExtractor
document
Constructor | Description |
---|---|
PublisherTextExtractor(java.io.InputStream is) |
|
PublisherTextExtractor(HPBFDocument doc) |
|
PublisherTextExtractor(DirectoryNode dir) |
|
PublisherTextExtractor(DirectoryNode dir,
POIFSFileSystem fs) |
Deprecated.
|
PublisherTextExtractor(NPOIFSFileSystem fs) |
|
PublisherTextExtractor(POIFSFileSystem fs) |
Modifier and Type | Method | 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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocSummaryInformation, getFileSystem, getMetadataTextExtractor, getRoot, getSummaryInformation
close
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(NPOIFSFileSystem fs) throws java.io.IOException
java.io.IOException
public 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.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 2018 The Apache Software Foundation or its licensors, as applicable.