Class HPSFPropertiesExtractor

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class HPSFPropertiesExtractor
    extends POIOLE2TextExtractor
    Extracts all of the HPSF properties, both build in and custom, returning them in textual form.
    • Constructor Detail

      • HPSFPropertiesExtractor

        public HPSFPropertiesExtractor​(POIDocument doc)
      • HPSFPropertiesExtractor

        public HPSFPropertiesExtractor​(POIFSFileSystem fs)
    • Method Detail

      • getDocumentSummaryInformationText

        public java.lang.String getDocumentSummaryInformationText()
      • getSummaryInformationText

        public java.lang.String getSummaryInformationText()
      • 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:
        the text of all the properties defined in the document.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException