| 程序包 | 说明 |
|---|---|
| cn.hutool.poi.excel |
POI中对Excel读写的封装,入口为ExcelUtil
|
| cn.hutool.poi.excel.sax |
Sax方式操作Excel方式的封装
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Excel07SaxReader |
ExcelUtil.read07BySax(File file,
int sheetIndex,
RowHandler rowHandler)
Sax方式读取Excel07
|
static Excel07SaxReader |
ExcelUtil.read07BySax(InputStream in,
int sheetIndex,
RowHandler rowHandler)
Sax方式读取Excel07
|
static Excel07SaxReader |
ExcelUtil.read07BySax(String path,
int sheetIndex,
RowHandler rowHandler)
Sax方式读取Excel07
|
| 限定符和类型 | 方法和说明 |
|---|---|
Excel07SaxReader |
Excel07SaxReader.read(File file,
int rid) |
Excel07SaxReader |
Excel07SaxReader.read(InputStream in,
int rid) |
Excel07SaxReader |
Excel07SaxReader.read(org.apache.poi.openxml4j.opc.OPCPackage opcPackage,
int rid)
开始读取Excel,Sheet编号从0开始计数
|
Excel07SaxReader |
Excel07SaxReader.setRowHandler(RowHandler rowHandler)
设置行处理器
|
Copyright © 2019. All rights reserved.