public class ShortAccessor extends Object implements PropertyAccessor<Short>
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
ShortAccessor() |
| Modifier and Type | Method and Description |
|---|---|
Short |
fromBytes(Class targetClass,
byte[] data)
From bytes.
|
Short |
fromString(Class targetClass,
String s)
Converts string representation to the data object whose type is T.
|
Short |
getCopy(Object object)
Gets copy of object
|
Short |
getInstance(Class<?> clazz) |
byte[] |
toBytes(Object object)
To bytes.
|
String |
toString(Object object)
Converts Object to String.
|
public Short fromBytes(Class targetClass, byte[] data)
PropertyAccessorfromBytes in interface PropertyAccessor<Short>data - the bpublic byte[] toBytes(Object object)
PropertyAccessortoBytes in interface PropertyAccessor<Short>object - the objectpublic String toString(Object object)
PropertyAccessortoString in interface PropertyAccessor<Short>object - the objectpublic Short fromString(Class targetClass, String s)
PropertyAccessorfromString in interface PropertyAccessor<Short>s - the spublic Short getCopy(Object object)
PropertyAccessorgetCopy in interface PropertyAccessor<Short>public Short getInstance(Class<?> clazz)
getInstance in interface PropertyAccessor<Short>Copyright © 2015. All Rights Reserved.