org.apache.poi.hssf.extractor.ExcelExtractor , org.apache.poi.hdgf.extractor.VisioTextExtractor , org.apache.poi.hwpf.extractor.WordExtractor
| Modifier and Type | Method and Description |
|---|---|
| public default void | close()
Implements java. Allows to free resources of the Extractor as soon as it is not needed any more. |
| public Object | |
| public Closeable | |
| public POITextExtractor | Returns: the metadata and text extractorReturns another text extractor, which is able to output the textual content of the document metadata / properties, such as author and title. |
| public String | |
| public boolean | |
| public void | setCloseFilesystem(boolean
true (default), if underlying resources/filesystem should be
closed on close()
|
| close | back to summary |
|---|---|
| public default void close() throws IOException Implements java. Allows to free resources of the Extractor as soon as it is not needed any more. This may include closing open file handles and freeing memory. The Extractor cannot be used after close has been called.
| |
| getDocument | back to summary |
|---|---|
public Object getDocument()
| |
| getFilesystem | back to summary |
|---|---|
public Closeable getFilesystem()
| |
| getMetadataTextExtractor | back to summary |
|---|---|
| public POITextExtractor getMetadataTextExtractor() Returns another text extractor, which is able to output the textual content of the document metadata / properties, such as author and title.
| |
| getText | back to summary |
|---|---|
| public String getText() Retrieves all the text from the document. How cells, paragraphs etc are separated in the text is implementation specific - see the javadocs for a specific project for details.
| |
| isCloseFilesystem | back to summary |
|---|---|
public boolean isCloseFilesystem()
| |
| setCloseFilesystem | back to summary |
|---|---|
public void setCloseFilesystem(boolean doCloseFilesystem)
| |