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