| 程序包 | 说明 |
|---|---|
| cn.gjing.tools.excel.exception | |
| cn.gjing.tools.excel.read.listener | |
| cn.gjing.tools.excel.util | |
| cn.gjing.tools.excel.write.listener | |
| cn.gjing.tools.excel.write.style |
| 构造器和说明 |
|---|
ExcelAssertException(String message,
ExcelField excelField,
Field field,
int rowIndex,
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(Map<Class<? extends ExcelWriteListener>,List<ExcelWriteListener>> excelListeners,
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(Map<Class<? extends ExcelWriteListener>,List<ExcelWriteListener>> excelListeners,
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<ExcelReadListener> emptyReadListeners,
R r,
Field field,
ExcelField excelField,
int rowIndex,
int colIndex)
Execute read empty listener
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
DefaultExcelStyleListener.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) |
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 |
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 |
DefaultExcelStyleListener.setHeadStyle(org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell,
ExcelField excelField,
Field field,
int index,
int colIndex) |
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.