类 ByteArrayImageConverter

java.lang.Object
com.sh.wf.excel.converters.bytearray.ByteArrayImageConverter
所有已实现的接口:
Converter<byte[]>

public class ByteArrayImageConverter extends Object implements Converter<byte[]>
Byte array and image converter
  • 构造器详细资料

    • ByteArrayImageConverter

      public ByteArrayImageConverter()
  • 方法详细资料

    • supportJavaTypeKey

      public Class supportJavaTypeKey()
      从接口复制的说明: Converter
      Back to object types in Java
      指定者:
      supportJavaTypeKey 在接口中 Converter<byte[]>
      返回:
      Support for Java class
    • supportExcelTypeKey

      public CellDataTypeEnum supportExcelTypeKey()
      从接口复制的说明: Converter
      Back to object enum in excel
      指定者:
      supportExcelTypeKey 在接口中 Converter<byte[]>
      返回:
      Support for CellDataTypeEnum
    • convertToJavaData

      public byte[] convertToJavaData(CellData cellData, ExcelContentProperty contentProperty, GlobalConfiguration globalConfiguration)
      从接口复制的说明: Converter
      Convert 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)
      从接口复制的说明: Converter
      Convert 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