public abstract class MapRowHandler extends AbstractRowHandler<Map<String,Object>>
convertFunc, endRowIndex, startRowIndex
Constructor and Description |
---|
MapRowHandler(int headerRowIndex,
int startRowIndex,
int endRowIndex)
构造
|
Modifier and Type | Method and Description |
---|---|
void |
handle(int sheetIndex,
long rowIndex,
List<Object> rowCells)
处理一行数据
|
handleData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doAfterAllAnalysed, handleCell
public MapRowHandler(int headerRowIndex, int startRowIndex, int endRowIndex)
headerRowIndex
- 标题所在行(从0开始计数)startRowIndex
- 读取起始行(包含,从0开始计数)endRowIndex
- 读取结束行(包含,从0开始计数)public void handle(int sheetIndex, long rowIndex, List<Object> rowCells)
RowHandler
handle
in interface RowHandler
handle
in class AbstractRowHandler<Map<String,Object>>
sheetIndex
- 当前Sheet序号rowIndex
- 当前行号,从0开始计数rowCells
- 行数据,每个Object表示一个单元格的值Copyright © 2024. All rights reserved.