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