| 程序包 | 说明 |
|---|---|
| cn.gjing.tools.excel.exception | |
| cn.gjing.tools.excel.metadata.listener | |
| cn.gjing.tools.excel.read.listener | |
| cn.gjing.tools.excel.util | |
| cn.gjing.tools.excel.write.listener |
| 构造器和说明 |
|---|
ExcelAssertException(String message,
ExcelField excelField,
Field field,
int rowIndex,
int colIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DefaultExcelStyleListener.setBodyStyle(org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
int index,
int colIndex) |
void |
DefaultExcelStyleListener.setHeadStyle(org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
int index,
int colIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
ExcelEmptyReadListener.readEmpty(R r,
Field field,
ExcelField excelField,
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
required() |
| 限定符和类型 | 方法和说明 |
|---|---|
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,
ExcelField excelField,
Field field,
int index,
int colIndex,
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,
ExcelField excelField,
Field field,
int index,
int colIndex,
RowType rowType)
Execute write cell listener
|
static <R> boolean |
ListenerChain.doReadEmpty(List<ExcelListener> emptyReadListeners,
R r,
Field field,
ExcelField excelField,
int rowIndex,
int colIndex)
Execute read empty listener
|
static void |
ListenerChain.doSetBodyStyle(List<ExcelListener> styleListeners,
org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
int index,
int colIndex)
Set excel head style
|
static void |
ListenerChain.doSetHeadStyle(List<ExcelListener> styleListeners,
org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
int index,
int colIndex)
Set excel head style
|
| 限定符和类型 | 方法和说明 |
|---|---|
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,
ExcelField excelField,
Field field,
int index,
int colIndex,
RowType rowType,
Object value)
Cell are assigned before, then after the data converter and before the auto merge
|
void |
ExcelCellWriteListener.completeCell(org.apache.poi.ss.usermodel.Sheet sheet,
org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
int index,
int colIndex,
RowType rowType)
Cell assignment complete,the current cell end, About to start reading the next cell
|
void |
ExcelStyleWriteListener.setBodyStyle(org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
int index,
int colIndex)
Set excel body style
|
void |
ExcelStyleWriteListener.setHeadStyle(org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
int index,
int colIndex)
Set excel head style
|
Copyright © 2021. All rights reserved.