| 程序包 | 说明 |
|---|---|
| cn.gjing.excel.base.listener.read | |
| cn.gjing.excel.base.listener.write | |
| cn.gjing.excel.base.meta | |
| cn.gjing.excel.base.util |
| 限定符和类型 | 方法和说明 |
|---|---|
default Object |
ExcelRowReadListener.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
|
void |
ExcelRowReadListener.readRow(R r,
org.apache.poi.ss.usermodel.Row row,
int rowIndex,
RowType rowType)
Triggered when a row of data has been successfully read
|
| 限定符和类型 | 方法和说明 |
|---|---|
default Object |
ExcelCellWriteListener.assignmentBefore(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelFieldProperty property,
int dataIndex,
RowType rowType,
Object value)
Triggered when the data converter finishes processing and is ready to write to the cell
|
void |
ExcelCellWriteListener.completeCell(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelFieldProperty property,
int dataIndex,
RowType rowType)
Triggered when the current cell has been written out and is about to start writing the next cell
|
void |
ExcelRowWriteListener.completeRow(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Row row,
Object excelEntity,
int dataIndex,
RowType rowType)
Triggered when all header fields of the Excel entity corresponding to the current row have been written out
|
default void |
ExcelRowWriteListener.createBefore(org.apache.poi.ss.usermodel.Sheet sheet,
int dataIndex,
RowType rowType)
Triggered before a new row is created
|
| 限定符和类型 | 方法和说明 |
|---|---|
static RowType |
RowType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RowType[] |
RowType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Object |
ListenerChain.doAssignmentBefore(List<ExcelListener> listeners,
org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelFieldProperty property,
int index,
RowType rowType,
Object value)
Execute write cell listener
|
static void |
ListenerChain.doCompleteCell(List<ExcelListener> listeners,
org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelFieldProperty property,
int index,
RowType rowType)
Execute write cell listener
|
static void |
ListenerChain.doCompleteRow(List<ExcelListener> listeners,
org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Row row,
Object obj,
int index,
RowType rowType)
Execute write row listener
|
static void |
ListenerChain.doCreateRowBefore(List<ExcelListener> listeners,
org.apache.poi.ss.usermodel.Sheet sheet,
int index,
RowType rowType)
Before you create a row
|
static Object |
ListenerChain.doReadCell(List<ExcelListener> rowReadListeners,
Object cellValue,
org.apache.poi.ss.usermodel.Cell cell,
int rowIndex,
int colIndex,
RowType rowType)
Execute read row listener
|
static <R> boolean |
ListenerChain.doReadRow(List<ExcelListener> rowReadListeners,
R r,
org.apache.poi.ss.usermodel.Row row,
RowType rowType)
Execute read row listener
|
Copyright © 2022. All rights reserved.