类 ConverterUtils

java.lang.Object
com.sh.wf.excel.util.ConverterUtils

public class ConverterUtils extends Object
Converting objects
  • 方法详细资料

    • convertToStringMap

      public static Map<Integer,String> convertToStringMap(Map<Integer,CellData> cellDataMap, AnalysisContext context)
      Convert it into a String map
      参数:
      cellDataMap - Map
      context - AnalysisContext
      返回:
      Map
    • convertToJavaObject

      public static Object convertToJavaObject(CellData cellData, Field field, ExcelContentProperty contentProperty, Map<String,Converter> converterMap, GlobalConfiguration globalConfiguration, Integer rowIndex, Integer columnIndex)
      Convert it into a Java object
      参数:
      cellData - CellData
      field - Field ExcelContentProperty
      contentProperty - ExcelContentProperty
      converterMap - Map
      globalConfiguration - GlobalConfiguration
      rowIndex - Integer
      columnIndex - Integer
      返回:
      Object