Interface ImportConverterService
- All Known Implementing Classes:
- ImporterConverterServiceImpl
public interface ImportConverterService
Stateful service that converts values. Obtain an instance using
 
ImportConverterServiceProvider.get().- 
Method SummaryModifier and TypeMethodDescriptionconvertCellValue(org.apache.poi.ss.usermodel.Cell input, String typeName) convertStringValue(String input, String typeName) convertStringValues(String input, String typeName) booleanhasConverterForType(String type) 
- 
Method Details- 
hasConverterForType- Parameters:
- type- a type name
- Returns:
- true if a converter exists for this type, not considering its base type
 
- 
convertCellValueObject convertCellValue(org.apache.poi.ss.usermodel.Cell input, String typeName) throws ImportConverterException - Parameters:
- input- a- Cellfrom which the value should be extracted
- typeName- name of the underlying type
- Returns:
- an object of the desired type containing the provided value
- Throws:
- ImportConverterException
 
- 
convertStringValue- Parameters:
- input- a- Stringvalue to be converted
- typeName- name of the underlying type
- Returns:
- an object of the desired type containing the provided value
- Throws:
- ImportConverterException
 
- 
convertStringValues- Parameters:
- input- a- Stringvalue to be converted
- typeName- name of the underlying type
- Returns:
- an object iterable of the desired type containing the provided values
- Throws:
- ImportConverterException
 
 
-