类 ByteArrayImageConverter
java.lang.Object
com.sh.wf.excel.converters.bytearray.ByteArrayImageConverter
- 所有已实现的接口:
Converter<byte[]>
Byte array and image converter
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明convertToExcelData(byte[] value, ExcelContentProperty contentProperty, GlobalConfiguration globalConfiguration) Convert Java objects to excel objectsbyte[]convertToJavaData(CellData cellData, ExcelContentProperty contentProperty, GlobalConfiguration globalConfiguration) Convert excel objects to Java objectsBack to object enum in excelBack to object types in Java
-
构造器详细资料
-
ByteArrayImageConverter
public ByteArrayImageConverter()
-
-
方法详细资料
-
supportJavaTypeKey
从接口复制的说明:ConverterBack to object types in Java- 指定者:
supportJavaTypeKey在接口中Converter<byte[]>- 返回:
- Support for Java class
-
supportExcelTypeKey
从接口复制的说明:ConverterBack to object enum in excel- 指定者:
supportExcelTypeKey在接口中Converter<byte[]>- 返回:
- Support for
CellDataTypeEnum
-
convertToJavaData
public byte[] convertToJavaData(CellData cellData, ExcelContentProperty contentProperty, GlobalConfiguration globalConfiguration) 从接口复制的说明:ConverterConvert excel objects to Java objects- 指定者:
convertToJavaData在接口中Converter<byte[]>- 参数:
cellData- Excel cell data.NotNull.contentProperty- Content property.Nullable.globalConfiguration- Global configuration.NotNull.- 返回:
- Data to put into a Java object
-
convertToExcelData
public CellData convertToExcelData(byte[] value, ExcelContentProperty contentProperty, GlobalConfiguration globalConfiguration) 从接口复制的说明:ConverterConvert Java objects to excel objects- 指定者:
convertToExcelData在接口中Converter<byte[]>- 参数:
value- Java Data.NotNull.contentProperty- Content property.Nullable.globalConfiguration- Global configuration.NotNull.- 返回:
- Data to put into a Excel
-