Class XSLFEventBasedPowerPointExtractor
- java.lang.Object
 - 
- org.apache.poi.extractor.POITextExtractor
 - 
- org.apache.poi.ooxml.extractor.POIXMLTextExtractor
 - 
- org.apache.tika.parser.microsoft.ooxml.xslf.XSLFEventBasedPowerPointExtractor
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Closeable,java.lang.AutoCloseable
public class XSLFEventBasedPowerPointExtractor extends POIXMLTextExtractor
 
- 
- 
Constructor Summary
Constructors Constructor Description XSLFEventBasedPowerPointExtractor(java.lang.String path)XSLFEventBasedPowerPointExtractor(OPCPackage container) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description POIXMLProperties.CorePropertiesgetCoreProperties()Returns the core document propertiesPOIXMLProperties.CustomPropertiesgetCustomProperties()Returns the custom document propertiesPOIXMLProperties.ExtendedPropertiesgetExtendedProperties()Returns the extended document propertiesOPCPackagegetPackage()Returns the opened OPCPackage that contains the documentjava.lang.StringgetText()Retrieves all the text from the document.static voidmain(java.lang.String[] args)- 
Methods inherited from class org.apache.poi.ooxml.extractor.POIXMLTextExtractor
close, getDocument, getMetadataTextExtractor 
- 
Methods inherited from class org.apache.poi.extractor.POITextExtractor
setFilesystem 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
XSLFEventBasedPowerPointExtractor
public XSLFEventBasedPowerPointExtractor(java.lang.String path) throws XmlException, OpenXML4JException, java.io.IOException- Throws:
 XmlExceptionOpenXML4JExceptionjava.io.IOException
 
- 
XSLFEventBasedPowerPointExtractor
public XSLFEventBasedPowerPointExtractor(OPCPackage container) throws XmlException, OpenXML4JException, java.io.IOException
- Throws:
 XmlExceptionOpenXML4JExceptionjava.io.IOException
 
 - 
 
- 
Method Detail
- 
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Throws:
 java.lang.Exception
 
- 
getPackage
public OPCPackage getPackage()
Description copied from class:POIXMLTextExtractorReturns the opened OPCPackage that contains the document- Overrides:
 getPackagein classPOIXMLTextExtractor- Returns:
 - the opened OPCPackage
 
 
- 
getCoreProperties
public POIXMLProperties.CoreProperties getCoreProperties()
Description copied from class:POIXMLTextExtractorReturns the core document properties- Overrides:
 getCorePropertiesin classPOIXMLTextExtractor- Returns:
 - the core document properties
 
 
- 
getExtendedProperties
public POIXMLProperties.ExtendedProperties getExtendedProperties()
Description copied from class:POIXMLTextExtractorReturns the extended document properties- Overrides:
 getExtendedPropertiesin classPOIXMLTextExtractor- Returns:
 - the extended document properties
 
 
- 
getCustomProperties
public POIXMLProperties.CustomProperties getCustomProperties()
Description copied from class:POIXMLTextExtractorReturns the custom document properties- Overrides:
 getCustomPropertiesin classPOIXMLTextExtractor- Returns:
 - the custom document properties
 
 
- 
getText
public java.lang.String getText()
Description copied from class:POITextExtractorRetrieves 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.- Specified by:
 getTextin classPOITextExtractor- Returns:
 - All the text from the document
 
 
 - 
 
 -