Package org.apache.poi.xssf.binary
Class XSSFBSheetHandler
java.lang.Object
org.apache.poi.xssf.binary.XSSFBParser
org.apache.poi.xssf.binary.XSSFBSheetHandler
- Since:
- 3.16-beta3
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceYou need to implement this to handle the results of the sheet parsing.static interfaceReceives streaming callbacks whileXSSFBSheetHandlerparses an XLSB sheet. -
Constructor Summary
ConstructorsConstructorDescriptionXSSFBSheetHandler(InputStream is, XSSFBStylesTable styles, XSSFBCommentsTable comments, SharedStrings strings, XSSFBSheetHandler.XSSFBSheetContentsHandler sheetContentsHandler, boolean formulasNotResults) Creates a handler that forwards native POI cell types to the suppliedXSSFBSheetHandler.XSSFBSheetContentsHandler.XSSFBSheetHandler(InputStream is, XSSFBStylesTable styles, XSSFBCommentsTable comments, SharedStrings strings, XSSFSheetXMLHandler.SheetContentsHandler sheetContentsHandler, DataFormatter dataFormatter, boolean formulasNotResults) Creates a handler that converts numeric and date cells to formatted strings viaDataFormatter. -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRecord(int id, byte[] data) Dispatches a parsed XLSB record to the appropriate specialised handler.Methods inherited from class org.apache.poi.xssf.binary.XSSFBParser
getMaxRecordLength, parse, setMaxRecordLength
-
Constructor Details
-
Method Details
-
handleRecord
Dispatches a parsed XLSB record to the appropriate specialised handler.- Specified by:
handleRecordin classXSSFBParser- Parameters:
id- numeric record identifier supplied byXSSFBParserdata- raw record payload- Throws:
XSSFBParseException- if the record cannot be processed according to the XLSB spec- See Also:
-