T - the generic typepublic interface PropertyAccessor<T>
Field property of a java class.| Modifier and Type | Method and Description |
|---|---|
T |
fromBytes(Class targetClass,
byte[] b)
From bytes.
|
T |
fromString(Class targetClass,
String s)
Converts string representation to the data object whose type is T.
|
T |
getCopy(Object object)
Gets copy of object
|
Object |
getInstance(Class<?> clazz) |
byte[] |
toBytes(Object object)
To bytes.
|
String |
toString(Object object)
Converts Object to String.
|
T fromBytes(Class targetClass, byte[] b)
b - the bPropertyAccessException - the property access exceptionbyte[] toBytes(Object object)
object - the objectPropertyAccessException - the property access exceptionString toString(Object object)
object - the objectT fromString(Class targetClass, String s)
s - the sPropertyAccessException - When string can't be converted to specified type, usually as
a result of NumberFormatExceptionCopyright © 2015. All Rights Reserved.