public class SAXReader extends Object implements ExcelReader
| Constructor and Description |
|---|
SAXReader(InputStream is) |
SAXReader(String fileName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close ExcelReader and release resources.
|
Object[][] |
getCells(SheetDescriptor sheet)
Parse and get all cells from a given sheet
|
List<SAXSheetDescriptor> |
getSheets()
Get all sheet descriptors
|
TableStyles |
getTableStyles(SheetDescriptor sheet,
IGridRegion tableRegion)
Get styles for a given table
|
boolean |
isUse1904Windowing()
Sometimes we need to convert parsed double value to date.
|
public SAXReader(String fileName)
public SAXReader(InputStream is)
public List<SAXSheetDescriptor> getSheets()
ExcelReadergetSheets in interface ExcelReaderpublic Object[][] getCells(SheetDescriptor sheet)
ExcelReadergetCells in interface ExcelReadersheet - sheet to parsepublic boolean isUse1904Windowing()
ExcelReaderisUse1904Windowing in interface ExcelReaderpublic TableStyles getTableStyles(SheetDescriptor sheet, IGridRegion tableRegion)
ExcelReadergetTableStyles in interface ExcelReadersheet - sheet containing the tabletableRegion - region needed to get styles for a given tablepublic void close()
ExcelReaderclose in interface AutoCloseableclose in interface ExcelReaderCopyright © 2004–2019 OpenL Tablets. All rights reserved.