|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.POITextExtractor
org.apache.poi.POIXMLTextExtractor
org.apache.poi.POIXMLPropertiesTextExtractor
public class POIXMLPropertiesTextExtractor
A POITextExtractor
for returning the textual
content of the OOXML file properties, eg author
and title.
Field Summary |
---|
Fields inherited from class org.apache.poi.POIXMLTextExtractor |
---|
document |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
java.lang.String |
getCorePropertiesText()
Returns the core document properties, eg author |
java.lang.String |
getCustomPropertiesText()
Returns the custom document properties, if there are any |
java.lang.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. |
java.lang.String |
getText()
Retrieves all the text from the document. |
Methods inherited from class org.apache.poi.POIXMLTextExtractor |
---|
getCoreProperties, getCustomProperties, getDocument, getExtendedProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public POIXMLPropertiesTextExtractor(POIXMLDocument doc)
public POIXMLPropertiesTextExtractor(POIXMLTextExtractor otherExtractor)
Method Detail |
---|
public java.lang.String getCorePropertiesText() throws java.io.IOException, OpenXML4JException, org.apache.xmlbeans.XmlException
java.io.IOException
OpenXML4JException
org.apache.xmlbeans.XmlException
public java.lang.String getExtendedPropertiesText() throws java.io.IOException, OpenXML4JException, org.apache.xmlbeans.XmlException
java.io.IOException
OpenXML4JException
org.apache.xmlbeans.XmlException
public java.lang.String getCustomPropertiesText() throws java.io.IOException, OpenXML4JException, org.apache.xmlbeans.XmlException
java.io.IOException
OpenXML4JException
org.apache.xmlbeans.XmlException
public java.lang.String getText()
POITextExtractor
getText
in class POITextExtractor
public POIXMLPropertiesTextExtractor getMetadataTextExtractor()
POIXMLTextExtractor
getMetadataTextExtractor
in class POIXMLTextExtractor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |