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