public class ConverterUtils extends Object
限定符和类型 | 方法和说明 |
---|---|
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
|
static Map<Integer,String> |
convertToStringMap(Map<Integer,CellData> cellDataMap,
AnalysisContext context)
Convert it into a String map
|
public static Map<Integer,String> convertToStringMap(Map<Integer,CellData> cellDataMap, AnalysisContext context)
cellDataMap
- context
- public static Object convertToJavaObject(CellData cellData, Field field, ExcelContentProperty contentProperty, Map<String,Converter> converterMap, GlobalConfiguration globalConfiguration, Integer rowIndex, Integer columnIndex)
cellData
- field
- contentProperty
- converterMap
- globalConfiguration
- rowIndex
- columnIndex
- Copyright © 2018–2021 Alibaba Group. All rights reserved.