Class XPSTextExtractor

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.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.
    • Method Detail

      • getPackage

        public OPCPackage getPackage()
        Overrides:
        getPackage in class org.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 class POITextExtractor
        Returns:
        All the text from the document
      • 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