public class StringToFloatConverter extends SimpleBeanConverter<String,Float>
beanMapper
Constructor and Description |
---|
StringToFloatConverter() |
Modifier and Type | Method and Description |
---|---|
protected Float |
doConvert(String source)
Convert the source instance into our target type.
|
protected boolean |
isMatchingTarget(Class<?> targetClass) |
doConvert
convert, isMatchingSource, match
protected Float doConvert(String source)
doConvert
in class SimpleBeanConverter<String,Float>
source
- the source instanceprotected boolean isMatchingTarget(Class<?> targetClass)
isMatchingTarget
in class AbstractBeanConverter<String,Float>
Copyright © 2015–2017 42 BV. All rights reserved.