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