public class Excel extends Object
Constructor and Description |
---|
Excel(InputStream in) |
Modifier and Type | Method and Description |
---|---|
org.apache.poi.ss.usermodel.Cell |
cellAt(String cellAddr) |
org.apache.poi.ss.usermodel.Workbook |
getWorkbook() |
Object[][] |
readBlock(String range,
Class<?>... columnTypes) |
<E> List<E> |
readColumn(String rangeOrStartAddress,
Class<E> type) |
<E> E |
readValueAt(String cellAddress,
Class<E> type) |
public Excel(InputStream in)
public org.apache.poi.ss.usermodel.Cell cellAt(String cellAddr)
public Object[][] readBlock(String range, Class<?>... columnTypes)
range
- either the range of the entire block to be read, or just the
top row of the cells, in which case the method will stop when
the first empty cell is reached in the first columncolumnTypes
- An array of data types expected at each column.
If this array is shorter than the number of column, then the last
data type is used until the end. So if only one value is given,
then that is used for the entire block.public org.apache.poi.ss.usermodel.Workbook getWorkbook()
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.