Class XSSFBParser

java.lang.Object
org.apache.poi.xssf.binary.XSSFBParser
Direct Known Subclasses:
XSSFBCommentsTable, XSSFBSheetHandler, XSSFBStylesTable

@Internal public abstract class XSSFBParser extends Object
Experimental parser for Microsoft's ooxml xlsb format. Not thread safe, obviously. Need to create a new one for each thread.
Since:
3.16-beta3
  • Constructor Details

    • XSSFBParser

      public XSSFBParser(InputStream is)
    • XSSFBParser

      protected XSSFBParser(InputStream is, com.zaxxer.sparsebits.SparseBitSet bitSet)
      Parameters:
      is - inputStream
      bitSet - call handleRecord(int, byte[]) only on those records in this bitSet
  • Method Details

    • setMaxRecordLength

      public static void setMaxRecordLength(int length)
      Parameters:
      length - the max record length allowed for XSSFBParser
    • getMaxRecordLength

      public static int getMaxRecordLength()
      Returns:
      the max record length allowed for XSSFBParser
    • parse

      public void parse() throws IOException
      Throws:
      IOException
    • handleRecord

      public abstract void handleRecord(int recordType, byte[] data) throws XSSFBParseException
      Throws:
      XSSFBParseException