public abstract class POITextExtractor extends Object
ExcelExtractor,
PowerPointExtractor,
VisioTextExtractor,
WordExtractor| Modifier and Type | Field and Description |
|---|---|
protected POIDocument |
document
The POIDocument that's open
|
| Modifier | Constructor and Description |
|---|---|
|
POITextExtractor(POIDocument document)
Creates a new text extractor for the given document
|
protected |
POITextExtractor(POITextExtractor otherExtractor)
Creates a new text extractor, using the same
document as another text extractor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract POITextExtractor |
getMetadataTextExtractor()
Returns another text extractor, which is able to
output the textual content of the document
metadata / properties, such as author and title.
|
abstract String |
getText()
Retrieves all the text from the document.
|
protected POIDocument document
public POITextExtractor(POIDocument document)
protected POITextExtractor(POITextExtractor otherExtractor)
public abstract String getText()
public abstract POITextExtractor getMetadataTextExtractor()
Copyright © 2020. All rights reserved.