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