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)
处理一行数据
如果想结束读取,抛出StopReadException即可 |
handleDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoAfterAllAnalysed, handleCellpublic MapRowHandler(int headerRowIndex,
int startRowIndex,
int endRowIndex)
headerRowIndex - 标题所在行(从0开始计数)startRowIndex - 读取起始行(包含,从0开始计数)endRowIndex - 读取结束行(包含,从0开始计数)public void handle(int sheetIndex,
long rowIndex,
List<Object> rowCells)
RowHandlerhandle in interface RowHandlerhandle in class AbstractRowHandler<Map<String,Object>>sheetIndex - 当前Sheet序号rowIndex - 当前行号,从0开始计数rowCells - 行数据,每个Object表示一个单元格的值Copyright © 2025. All rights reserved.