public class FloatTransformer extends Object implements PropertyTransformer<Float>
| Modifier and Type | Field and Description |
|---|---|
static FloatTransformer |
SHARED_INSTANCE
Shared instance of this transformer.
|
| Constructor and Description |
|---|
FloatTransformer() |
| Modifier and Type | Method and Description |
|---|---|
Float |
transform(String value,
Field field)
Thransforms string to float
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittransformpublic static final FloatTransformer SHARED_INSTANCE
public Float transform(String value, Field field) throws TransformationException
transform in interface PropertyTransformer<Float>value - value that will be transformedfield - value will be assigned to this fieldTransformationException - if something went wrongCopyright © 2014–2015. All rights reserved.