Interface ExcelValueConverter<TYPE>
- All Superinterfaces:
org.springframework.core.Ordered
- All Known Implementing Classes:
ExcelBooleanValueConverter,ExcelDateValueConverter,ExcelMultiValueConverter,ExcelNullValueConverter,ExcelNumberValueConverter,ExcelStringValueConverter
public interface ExcelValueConverter<TYPE>
extends org.springframework.core.Ordered
Converts string value to correct object representation.
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptionbooleancanConvert(ExcelAttribute excelAttribute, ImportParameters importParameters) Indicates whether converter is able to converts given excel attributeconvert(ExcelAttribute excelAttribute, ImportParameters importParameters) Converts string value into correct object representationMethods inherited from interface org.springframework.core.Ordered
getOrder
-
Method Details
-
canConvert
Indicates whether converter is able to converts given excel attribute- Parameters:
importParameters-ImportParameterslist of parsed import parametersexcelAttribute-ExcelAttributerepresentation of currently processed attribute- Returns:
- boolean
-
convert
Converts string value into correct object representation- Parameters:
importParameters-ImportParameterslist of parsed import parametersexcelAttribute-ExcelAttributerepresentation of currently processed attribute- Returns:
- correct object representation
-