Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.poi.xssf.eventusermodel
Class XSSFBReader

    java.lang.Object
      org.apache.poi.xssf.eventusermodel.XSSFReader
          org.apache.poi.xssf.eventusermodel.XSSFBReader

    public class XSSFBReader

extends XSSFReader

Reader for xlsb files.

Since:
  3.16-beta3

Nested Class Summary
`static class` | `XSSFBReader.SheetIterator`

Nested 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
`XSSFBReader(OPCPackage pkg)` Creates a new XSSFReader, for the given package

Method Summary
`java.lang.String` | `getAbsPathMetadata()` In Excel 2013, the absolute path where the file was last saved may be stored in the `XSSFBRecordType.BrtAbsPath15` record.
`java.util.Iterator<java.io.InputStream>` | `getSheetsData()` Returns an Iterator which will let you get at all the different Sheets in turn.
`XSSFBStylesTable` | `getXSSFBStylesTable()`

Methods inherited from class org.apache.poi.xssf.eventusermodel.XSSFReader
`getSharedStringsData, getSharedStringsTable, getSheet, getStylesData, getStylesTable, getThemesData, getWorkbookData`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### XSSFBReader

    public XSSFBReader(OPCPackage pkg)
                throws java.io.IOException,
                       OpenXML4JException

  Creates a new XSSFReader, for the given package

  Parameters:
    `pkg` - opc package
  Throws:
    `java.io.IOException`
    `OpenXML4JException`

Method Detail

### getAbsPathMetadata

    public java.lang.String getAbsPathMetadata()
                                        throws java.io.IOException

  In Excel 2013, the absolute path where the file was last saved may be stored in the `XSSFBRecordType.BrtAbsPath15` record. The equivalent in ooxml is <x15ac:absPath>.

  Returns:
    absolute path or `null` if it could not be found.
  Throws:
    `java.io.IOException` - when there's a problem with the workbook part's stream

### getSheetsData

    public java.util.Iterator<java.io.InputStream> getSheetsData()
                                                          throws java.io.IOException,
                                                                 InvalidFormatException

  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 class `XSSFReader`
  Throws:
    `java.io.IOException`
    `InvalidFormatException`

### getXSSFBStylesTable

    public XSSFBStylesTable getXSSFBStylesTable()
                                         throws java.io.IOException

  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2017 The Apache Software Foundation or its licensors, as applicable.