java.io.Closeable, java.lang.AutoCloseablePOIXMLPropertiesTextExtractor, XSLFPowerPointExtractor, XSSFEventBasedExcelExtractor, XSSFExcelExtractor, XWPFWordExtractorpublic abstract class POIXMLTextExtractor extends POITextExtractor
document| Constructor | Description |
|---|---|
POIXMLTextExtractor(POIXMLDocument document) |
Creates a new text extractor for the given document
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Allows to free resources of the Extractor as soon as
it is not needed any more.
|
POIXMLProperties.CoreProperties |
getCoreProperties() |
Returns the core document properties
|
POIXMLProperties.CustomProperties |
getCustomProperties() |
Returns the custom document properties
|
POIXMLDocument |
getDocument() |
Returns opened document
|
POIXMLProperties.ExtendedProperties |
getExtendedProperties() |
Returns the extended document properties
|
POIXMLPropertiesTextExtractor |
getMetadataTextExtractor() |
Returns an OOXML properties text extractor for the
document properties metadata, such as title and author.
|
OPCPackage |
getPackage() |
Returns the opened OPCPackage that contains the document
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTextpublic POIXMLTextExtractor(POIXMLDocument document)
public POIXMLProperties.CoreProperties getCoreProperties()
public POIXMLProperties.ExtendedProperties getExtendedProperties()
public POIXMLProperties.CustomProperties getCustomProperties()
public final POIXMLDocument getDocument()
public OPCPackage getPackage()
public POIXMLPropertiesTextExtractor getMetadataTextExtractor()
getMetadataTextExtractor in class POITextExtractorpublic void close()
throws java.io.IOException
POITextExtractorclose in interface java.lang.AutoCloseableclose in interface java.io.Closeableclose in class POITextExtractorjava.io.IOExceptionCopyright 2018 The Apache Software Foundation or its licensors, as applicable.