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