public interface ICellValueAndStyle
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
conversion(int row,
Cell cell,
Object o,
Column hc)
Int value conversion to others
|
String |
getFileSuffix()
Returns the worksheet name
|
int |
getStyleIndex(int rows,
Column hc,
Object o)
已过时。
Replace with
getStyleIndex(Row, Column, Object) |
default int |
getStyleIndex(Row row,
Column hc,
Object o)
Returns the cell style index
|
void |
reset(int row,
Cell cell,
Object e,
Column hc)
已过时。
Replace with
reset(Row, Cell, Object, Column) |
default void |
reset(Row row,
Cell cell,
Object e,
Column hc)
Setting cell value and cell styles
|
default void |
setCellValue(int row,
Cell cell,
Object e,
Column hc,
Class<?> clazz,
boolean hasProcessor)
Setting cell value
|
default void |
setNullValue(int row,
Cell cell,
Column hc)
Setting cell value as null
|
default <T> void |
setStyleDesign(T o,
Cell cell,
Column hc,
StyleProcessor<T> styleProcessor)
Setting all cell style of the specified row
|
default void |
unknownType(int row,
Cell cell,
Object e,
Column hc,
Class<?> clazz)
unknown cell type converter
|
default void reset(Row row, Cell cell, Object e, Column hc)
row - the row numbercell - the celle - the cell valuehc - the header columndefault int getStyleIndex(Row row, Column hc, Object o)
row - the row datahc - the header columno - the cell value@Deprecated void reset(int row, Cell cell, Object e, Column hc)
reset(Row, Cell, Object, Column)row - the row numbercell - the celle - the cell valuehc - the header columnString getFileSuffix()
@Deprecated int getStyleIndex(int rows, Column hc, Object o)
getStyleIndex(Row, Column, Object)rows - the row numberhc - the header columno - the cell valuedefault <T> void setStyleDesign(T o,
Cell cell,
Column hc,
StyleProcessor<T> styleProcessor)
T - the row's classo - the row datacell - the cell of rowhc - the header columnstyleProcessor - a customize StyleProcessordefault void setCellValue(int row,
Cell cell,
Object e,
Column hc,
Class<?> clazz,
boolean hasProcessor)
row - the row numbercell - the celle - the cell valuehc - the header columnclazz - the cell value typehasProcessor - Specify the cell has value converterdefault void setNullValue(int row,
Cell cell,
Column hc)
row - the row numbercell - the cellhc - the header columndefault void conversion(int row,
Cell cell,
Object o,
Column hc)
row - the row numbercell - the cello - the cell valuehc - the header columnCopyright © 2023. All rights reserved.