|
||||||||||
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
public abstract class POIXMLTextExtractor
Constructor Summary | |
---|---|
POIXMLTextExtractor(POIXMLDocument document)
Creates a new text extractor for the given document |
Method Summary | |
---|---|
protected void |
checkMaxTextSize(java.lang.StringBuffer text,
java.lang.String string)
|
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 |
Methods inherited from class org.apache.poi.POITextExtractor |
---|
getText, setFilesystem |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public POIXMLTextExtractor(POIXMLDocument document)
document
- the document to extract fromMethod Detail |
---|
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 POITextExtractor
public void close() throws java.io.IOException
POITextExtractor
close
in interface java.io.Closeable
close
in class POITextExtractor
java.io.IOException
protected void checkMaxTextSize(java.lang.StringBuffer text, java.lang.String string)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |