public interface POITextExtractor extends Closeable
ExcelExtractor,
VisioTextExtractor,
WordExtractor| Modifier and Type | Method and Description |
|---|---|
default void |
close()
Allows to free resources of the Extractor as soon as
it is not needed any more.
|
Object |
getDocument() |
Closeable |
getFilesystem() |
POITextExtractor |
getMetadataTextExtractor()
Returns another text extractor, which is able to
output the textual content of the document
metadata / properties, such as author and title.
|
String |
getText()
Retrieves all the text from the document.
|
boolean |
isCloseFilesystem() |
void |
setCloseFilesystem(boolean doCloseFilesystem) |
String getText()
POITextExtractor getMetadataTextExtractor()
void setCloseFilesystem(boolean doCloseFilesystem)
doCloseFilesystem - true (default), if underlying resources/filesystem should be
closed on close()boolean isCloseFilesystem()
true, if resources/filesystem should be closed on close()Closeable getFilesystem()
default void close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOExceptionObject getDocument()