public interface Converter
Modifier and Type | Method and Description |
---|---|
Object |
convert(Class<?> targetClass,
String strVal)
Converts string values to an object of a bean property.
|
Object convert(Class<?> targetClass, String strVal) throws ConvertException
targetClass
- type of propertystrVal
- value to convertConvertException
- in case if string value cannot be converted a target classCopyright © 2019. All rights reserved.