Class ExcelWriteConverter

java.lang.Object
cn.sinozg.applet.common.excel.ExcelWriteConverter
All Implemented Interfaces:
ai.chat2db.excel.converters.Converter<String>

public class ExcelWriteConverter extends Object implements ai.chat2db.excel.converters.Converter<String>
导出转移 使用方式为
 
 @ExcelProperty(converter = ExcelWriteConverter.class)
 
  • Constructor Details

    • ExcelWriteConverter

      public ExcelWriteConverter()
  • Method Details

    • supportJavaTypeKey

      public Class<?> supportJavaTypeKey()
      Specified by:
      supportJavaTypeKey in interface ai.chat2db.excel.converters.Converter<String>
    • supportExcelTypeKey

      public ai.chat2db.excel.enums.CellDataTypeEnum supportExcelTypeKey()
      Specified by:
      supportExcelTypeKey in interface ai.chat2db.excel.converters.Converter<String>
    • convertToExcelData

      public ai.chat2db.excel.metadata.data.WriteCellData<?> convertToExcelData(String value, ai.chat2db.excel.metadata.property.ExcelContentProperty contentProperty, ai.chat2db.excel.metadata.GlobalConfiguration globalConfiguration)
      读取转化
      Specified by:
      convertToExcelData in interface ai.chat2db.excel.converters.Converter<String>
      Parameters:
      value - Java Data.NotNull.
      contentProperty - Content property.NotNull
      globalConfiguration - Global configuration.NotNull.
      Returns:
      要写入excel的值