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 org.aoju.bus.core.lang.exception.InstrumentException
path - Excel文件路径org.aoju.bus.core.lang.exception.InstrumentException - POI异常T read(File file) throws org.aoju.bus.core.lang.exception.InstrumentException
file - Excel文件org.aoju.bus.core.lang.exception.InstrumentException - POI异常T read(InputStream in) throws org.aoju.bus.core.lang.exception.InstrumentException
in - Excel包流org.aoju.bus.core.lang.exception.InstrumentException - POI异常T read(String path, int rid) throws org.aoju.bus.core.lang.exception.InstrumentException
path - 文件路径rid - Excel中的sheet rid编号,如果为-1处理所有编号的sheetorg.aoju.bus.core.lang.exception.InstrumentException - POI异常T read(File file, int rid) throws org.aoju.bus.core.lang.exception.InstrumentException
file - Excel文件rid - Excel中的sheet rid编号,如果为-1处理所有编号的sheetorg.aoju.bus.core.lang.exception.InstrumentException - POI异常T read(InputStream in, int rid) throws org.aoju.bus.core.lang.exception.InstrumentException
in - Excel流rid - Excel中的sheet rid编号,如果为-1处理所有编号的sheetorg.aoju.bus.core.lang.exception.InstrumentException - POI异常Copyright © 2019. All rights reserved.