public interface Converter<T>
限定符和类型 | 方法和说明 |
---|---|
CellData |
convertToExcelData(T value,
ExcelContentProperty contentProperty,
GlobalConfiguration globalConfiguration)
Convert Java objects to excel objects
|
T |
convertToJavaData(CellData cellData,
ExcelContentProperty contentProperty,
GlobalConfiguration globalConfiguration)
Convert excel objects to Java objects
|
CellDataTypeEnum |
supportExcelTypeKey()
Back to object enum in excel
|
java.lang.Class |
supportJavaTypeKey()
Back to object types in Java
|
java.lang.Class supportJavaTypeKey()
CellDataTypeEnum supportExcelTypeKey()
CellDataTypeEnum
T convertToJavaData(CellData cellData, ExcelContentProperty contentProperty, GlobalConfiguration globalConfiguration) throws java.lang.Exception
cellData
- Excel cell data.NotNull.contentProperty
- Content property.Nullable.globalConfiguration
- Global configuration.NotNull.java.lang.Exception
- Exception.CellData convertToExcelData(T value, ExcelContentProperty contentProperty, GlobalConfiguration globalConfiguration) throws java.lang.Exception
value
- Java Data.NotNull.contentProperty
- Content property.Nullable.globalConfiguration
- Global configuration.NotNull.java.lang.Exception
- Exception.