@FunctionalInterface public interface ExcelEmptyReadListener<R> extends ExcelReadListener
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
readEmpty(R r,
int rowIndex,
int colIndex)
When a body cell is read, if the cell does not exist or the value is empty,
and header is set as required in the mapping entity
ExcelField.required(). |
boolean readEmpty(R r, int rowIndex, int colIndex)
ExcelField.required().
Return true to continue reading the cells of that row and retain the instance generated by the current row,
returning false immediately stops reading the current row and starts the next row,
and delete the instance generated by the current row,
you can also abort the import by throwing an exceptionr - Current Java instancerowIndex - Current row indexcolIndex - Current column indexCopyright © 2022. All rights reserved.