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