T - 结果类型public abstract class BeanRowHandler<T> extends AbstractRowHandler<T>
convertFunc, endRowIndex, startRowIndex| Constructor and Description |
|---|
BeanRowHandler(int headerRowIndex,
int startRowIndex,
int endRowIndex,
Class<T> clazz)
构造
|
| 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 void handle(int sheetIndex,
long rowIndex,
List<Object> rowCells)
RowHandlerhandle in interface RowHandlerhandle in class AbstractRowHandler<T>sheetIndex - 当前Sheet序号rowIndex - 当前行号,从0开始计数rowCells - 行数据,每个Object表示一个单元格的值Copyright © 2025. All rights reserved.