@FunctionalInterface public interface ExcelRowReadListener<R> extends ExcelReadListener
| 限定符和类型 | 方法和说明 |
|---|---|
default boolean |
continueRead()
Continue read next row , once set to false will immediately stop reading down,
Triggered after each row is read
readRow(R, org.apache.poi.ss.usermodel.Row, int, cn.gjing.excel.base.meta.RowType) |
default void |
readBefore()
Trigger before reading data
|
default Object |
readCell(Object cellValue,
org.apache.poi.ss.usermodel.Cell cell,
int rowIndex,
int colIndex,
RowType rowType)
Triggered when a cell has been successfully read after the data converter has processed it
|
default void |
readFinish()
Triggered when all data has been read
|
void |
readRow(R r,
org.apache.poi.ss.usermodel.Row row,
int rowIndex,
RowType rowType)
Triggered when a row of data has been successfully read
|
void readRow(R r, org.apache.poi.ss.usermodel.Row row, int rowIndex, RowType rowType)
r - The current row generates instance that have value only in binding mode; simple mode does not generate objectrow - The current rowrowIndex - The current row indexrowType - Current row typedefault Object readCell(Object cellValue, org.apache.poi.ss.usermodel.Cell cell, int rowIndex, int colIndex, RowType rowType)
cellValue - Current cell valuecell - Current cellrowIndex - Current row indexcolIndex - Current col indexrowType - Current row typedefault void readFinish()
default void readBefore()
default boolean continueRead()
readRow(R, org.apache.poi.ss.usermodel.Row, int, cn.gjing.excel.base.meta.RowType)Copyright © 2022. All rights reserved.