Class XPSTextExtractor

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class XPSTextExtractor
    extends org.apache.poi.ooxml.extractor.POIXMLTextExtractor
    Currently, mostly a pass-through class to hold pkg and properties and keep the general framework similar to our other POI-integrated extractors.
    • Constructor Detail

      • XPSTextExtractor

        public XPSTextExtractor​(org.apache.poi.openxml4j.opc.OPCPackage pkg)
                         throws org.apache.poi.openxml4j.exceptions.OpenXML4JException,
                                org.apache.xmlbeans.XmlException,
                                IOException
        Throws:
        org.apache.poi.openxml4j.exceptions.OpenXML4JException
        org.apache.xmlbeans.XmlException
        IOException
    • Method Detail

      • getPackage

        public org.apache.poi.openxml4j.opc.OPCPackage getPackage()
        Overrides:
        getPackage in class org.apache.poi.ooxml.extractor.POIXMLTextExtractor
      • getText

        public String getText()
        Specified by:
        getText in class org.apache.poi.extractor.POITextExtractor
      • getCoreProperties

        public org.apache.poi.ooxml.POIXMLProperties.CoreProperties getCoreProperties()
        Overrides:
        getCoreProperties in class org.apache.poi.ooxml.extractor.POIXMLTextExtractor
      • getExtendedProperties

        public org.apache.poi.ooxml.POIXMLProperties.ExtendedProperties getExtendedProperties()
        Overrides:
        getExtendedProperties in class org.apache.poi.ooxml.extractor.POIXMLTextExtractor
      • getCustomProperties

        public org.apache.poi.ooxml.POIXMLProperties.CustomProperties getCustomProperties()
        Overrides:
        getCustomProperties in class org.apache.poi.ooxml.extractor.POIXMLTextExtractor