Interface POIXMLTextExtractor

    • Method Detail

      • getCoreProperties

        default POIXMLProperties.CoreProperties getCoreProperties()
        Returns the core document properties
        Returns:
        the core document properties
      • getExtendedProperties

        default POIXMLProperties.ExtendedProperties getExtendedProperties()
        Returns the extended document properties
        Returns:
        the extended document properties
      • getCustomProperties

        default POIXMLProperties.CustomProperties getCustomProperties()
        Returns the custom document properties
        Returns:
        the custom document properties
      • getPackage

        default OPCPackage getPackage()
        Returns the opened OPCPackage that contains the document
        Returns:
        the opened OPCPackage
      • close

        default void close()
                    throws java.io.IOException
        Description copied from interface: POITextExtractor
        Allows to free resources of the Extractor as soon as it is not needed any more. This may include closing open file handles and freeing memory. The Extractor cannot be used after close has been called.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface POITextExtractor
        Throws:
        java.io.IOException
      • checkMaxTextSize

        default void checkMaxTextSize​(java.lang.CharSequence text,
                                      java.lang.String string)