T - 子对象类型,用于标记返回值thispublic interface ExcelSaxReader<T>
| Modifier and Type | Method and Description |
|---|---|
T |
read(File file)
开始读取Excel,读取所有sheet
|
T |
read(File file,
int rid)
开始读取Excel
|
T |
read(InputStream in)
开始读取Excel,读取所有sheet,读取结束后并不关闭流
|
T |
read(InputStream in,
int rid)
开始读取Excel,读取结束后并不关闭流
|
T |
read(String path)
开始读取Excel,读取所有sheet
|
T |
read(String path,
int rid)
开始读取Excel
|
T read(String path) throws InstrumentException
path - Excel文件路径InstrumentException - POI异常T read(File file) throws InstrumentException
file - Excel文件InstrumentException - POI异常T read(InputStream in) throws InstrumentException
in - Excel包流InstrumentException - POI异常T read(String path, int rid) throws InstrumentException
path - 文件路径rid - Excel中的sheet rid编号,如果为-1处理所有编号的sheetInstrumentException - POI异常T read(File file, int rid) throws InstrumentException
file - Excel文件rid - Excel中的sheet rid编号,如果为-1处理所有编号的sheetInstrumentException - POI异常T read(InputStream in, int rid) throws InstrumentException
in - Excel流rid - Excel中的sheet rid编号,如果为-1处理所有编号的sheetInstrumentException - POI异常Copyright © 2019. All rights reserved.