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 org.apache.poi.ooxml.extractor.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 org.apache.poi.ooxml.POIXMLProperties.CoreProperties
getCoreProperties()
org.apache.poi.ooxml.POIXMLProperties.CustomProperties
getCustomProperties()
org.apache.poi.ooxml.POIXMLProperties.ExtendedProperties
getExtendedProperties()
OPCPackage
getPackage()
java.lang.String
getText()
Retrieves all the text from the document.static void
main(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:
XmlException
OpenXML4JException
java.io.IOException
-
XSLFEventBasedPowerPointExtractor
public XSLFEventBasedPowerPointExtractor(OPCPackage container) throws XmlException, OpenXML4JException, java.io.IOException
- Throws:
XmlException
OpenXML4JException
java.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()
- Overrides:
getPackage
in classorg.apache.poi.ooxml.extractor.POIXMLTextExtractor
-
getCoreProperties
public org.apache.poi.ooxml.POIXMLProperties.CoreProperties getCoreProperties()
- Overrides:
getCoreProperties
in classorg.apache.poi.ooxml.extractor.POIXMLTextExtractor
-
getExtendedProperties
public org.apache.poi.ooxml.POIXMLProperties.ExtendedProperties getExtendedProperties()
- Overrides:
getExtendedProperties
in classorg.apache.poi.ooxml.extractor.POIXMLTextExtractor
-
getCustomProperties
public org.apache.poi.ooxml.POIXMLProperties.CustomProperties getCustomProperties()
- Overrides:
getCustomProperties
in classorg.apache.poi.ooxml.extractor.POIXMLTextExtractor
-
getText
public java.lang.String getText()
Description copied from class:POITextExtractor
Retrieves 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:
getText
in classPOITextExtractor
- Returns:
- All the text from the document
-
-