public class POIXMLPropertiesTextExtractor extends POIXMLTextExtractor
POITextExtractor
for returning the textual
content of the OOXML file properties, eg author
and title.document
Constructor and Description |
---|
POIXMLPropertiesTextExtractor(POIXMLDocument doc)
Creates a new POIXMLPropertiesTextExtractor for the
given open document.
|
POIXMLPropertiesTextExtractor(POIXMLTextExtractor otherExtractor)
Creates a new POIXMLPropertiesTextExtractor, for the
same file that another TextExtractor is already
working on.
|
Modifier and Type | Method and Description |
---|---|
String |
getCorePropertiesText()
Returns the core document properties, eg author
|
String |
getCustomPropertiesText()
Returns the custom document properties, if
there are any
|
String |
getExtendedPropertiesText()
Returns the extended document properties, eg
application
|
POIXMLPropertiesTextExtractor |
getMetadataTextExtractor()
Returns an OOXML properties text extractor for the
document properties metadata, such as title and author.
|
String |
getText()
Retrieves all the text from the document.
|
getCoreProperties, getCustomProperties, getDocument, getExtendedProperties, getPackage
public POIXMLPropertiesTextExtractor(POIXMLDocument doc)
public POIXMLPropertiesTextExtractor(POIXMLTextExtractor otherExtractor)
public String getCorePropertiesText()
public String getExtendedPropertiesText()
public String getCustomPropertiesText()
public String getText()
POITextExtractor
getText
in class POITextExtractor
public POIXMLPropertiesTextExtractor getMetadataTextExtractor()
POIXMLTextExtractor
getMetadataTextExtractor
in class POIXMLTextExtractor
Copyright © 2020. All rights reserved.