public class ToEnumConverter extends Object implements Converter
Constructor and Description |
---|
ToEnumConverter() |
public ToEnumConverter()
public Object convert(Class<?> tClass, String strVal) throws ConvertException
Converter
convert
in interface Converter
tClass
- type of propertystrVal
- value to convertConvertException
- in case if string value cannot be converted a target classCopyright © 2019. All rights reserved.