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