Class XSSFBReader
java.lang.Object
org.apache.poi.xssf.eventusermodel.XSSFReader
org.apache.poi.xssf.eventusermodel.XSSFBReader
Reader for xlsb files.
- Since:
- 3.16-beta3
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.poi.xssf.eventusermodel.XSSFReader
XSSFReader.XSSFSheetRef
-
Field Summary
Fields inherited from class org.apache.poi.xssf.eventusermodel.XSSFReader
pkg, workbookPart
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIn Excel 2013, the absolute path where the file was last saved may be stored in theXSSFBRecordType.BrtAbsPath15
record.Returns an Iterator which will let you get at all the different Sheets in turn.Methods inherited from class org.apache.poi.xssf.eventusermodel.XSSFReader
getSharedStringsData, getSharedStringsTable, getSheet, getStylesData, getStylesTable, getThemesData, getWorkbookData
-
Constructor Details
-
XSSFBReader
Creates a new XSSFReader, for the given package- Parameters:
pkg
- opc package- Throws:
IOException
OpenXML4JException
-
-
Method Details
-
getAbsPathMetadata
In Excel 2013, the absolute path where the file was last saved may be stored in theXSSFBRecordType.BrtAbsPath15
record. The equivalent in ooxml is <x15ac:absPath>.- Returns:
- absolute path or
null
if it could not be found. - Throws:
IOException
- when there's a problem with the workbook part's stream
-
getSheetsData
Returns an Iterator which will let you get at all the different Sheets in turn. Each sheet's InputStream is only opened when fetched from the Iterator. It's up to you to close the InputStreams when done with each one.- Overrides:
getSheetsData
in classXSSFReader
- Throws:
IOException
InvalidFormatException
-
getXSSFBStylesTable
- Throws:
IOException
-