Class XSSFBEventBasedExcelExtractor

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

    public class XSSFBEventBasedExcelExtractor
    extends XSSFEventBasedExcelExtractor
    implements ExcelExtractor
    Implementation of a text extractor or xlsb Excel files that uses SAX-like binary parsing.
    Since:
    3.16-beta3
    • Field Detail

      • SUPPORTED_TYPES

        public static final XSSFRelation[] SUPPORTED_TYPES
    • Constructor Detail

      • XSSFBEventBasedExcelExtractor

        public XSSFBEventBasedExcelExtractor​(java.lang.String path)
                                      throws org.apache.xmlbeans.XmlException,
                                             OpenXML4JException,
                                             java.io.IOException
        Throws:
        org.apache.xmlbeans.XmlException
        OpenXML4JException
        java.io.IOException
      • XSSFBEventBasedExcelExtractor

        public XSSFBEventBasedExcelExtractor​(OPCPackage container)
                                      throws org.apache.xmlbeans.XmlException,
                                             OpenXML4JException,
                                             java.io.IOException
        Throws:
        org.apache.xmlbeans.XmlException
        OpenXML4JException
        java.io.IOException
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setHandleHyperlinksInCells

        public void setHandleHyperlinksInCells​(boolean handleHyperlinksInCells)
      • setFormulasNotResults

        public void setFormulasNotResults​(boolean formulasNotResults)
        Should we return the formula itself, and not the result it produces? Default is false This is currently unsupported for xssfb
        Specified by:
        setFormulasNotResults in interface ExcelExtractor
        Overrides:
        setFormulasNotResults in class XSSFEventBasedExcelExtractor
        Parameters:
        formulasNotResults - true if the formula itself is returned