Class EventBasedExcelExtractor

    • Constructor Detail

      • EventBasedExcelExtractor

        public EventBasedExcelExtractor​(DirectoryNode dir)
      • EventBasedExcelExtractor

        public EventBasedExcelExtractor​(POIFSFileSystem fs)
    • Method Detail

      • getSummaryInformation

        public SummaryInformation getSummaryInformation()
        Would return the summary information metadata for the document, if we supported it
        Specified by:
        getSummaryInformation in interface POIOLE2TextExtractor
        Returns:
        The Summary information for the document or null if it could not be read for this document.
      • setIncludeCellComments

        public void setIncludeCellComments​(boolean includeComments)
        Would control the inclusion of cell comments from the document, if we supported it
        Specified by:
        setIncludeCellComments in interface ExcelExtractor
        Parameters:
        includeComments - true if cell comments should be included
      • setIncludeHeadersFooters

        public void setIncludeHeadersFooters​(boolean includeHeadersFooters)
        Would control the inclusion of headers and footers from the document, if we supported it
        Specified by:
        setIncludeHeadersFooters in interface ExcelExtractor
        Parameters:
        includeHeadersFooters - true if headers and footers should be included
      • setIncludeSheetNames

        public void setIncludeSheetNames​(boolean includeSheetNames)
        Should sheet names be included? Default is true
        Specified by:
        setIncludeSheetNames in interface ExcelExtractor
        Parameters:
        includeSheetNames - true if the sheet names should be included
      • setFormulasNotResults

        public void setFormulasNotResults​(boolean formulasNotResults)
        Should we return the formula itself, and not the result it produces? Default is false
        Specified by:
        setFormulasNotResults in interface ExcelExtractor
        Parameters:
        formulasNotResults - true if the formula itself is returned
      • close

        public void close()
                   throws 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 AutoCloseable
        Specified by:
        close in interface Closeable
        Specified by:
        close in interface POITextExtractor
        Throws:
        IOException