public abstract class POITextExtractor extends Object implements Closeable
ExcelExtractor
,
PowerPointExtractor
,
VisioTextExtractor
,
WordExtractor
Constructor and Description |
---|
POITextExtractor() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Allows to free resources of the Extractor as soon as
it is not needed any more.
|
abstract Object |
getDocument() |
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.
|
void |
setFilesystem(Closeable fs)
Used to ensure file handle cleanup.
|
public abstract String getText()
public abstract POITextExtractor getMetadataTextExtractor()
public void setFilesystem(Closeable fs)
fs
- filesystem to closepublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public abstract Object getDocument()
Copyright © 2010 - 2020 Adobe. All Rights Reserved