public class PointConverter
extends com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
Point.| Constructor and Description |
|---|
PointConverter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(Class type) |
Object |
fromString(String str) |
static Point |
pointFromString(String point)
Returns
Point read from string. |
static String |
pointToString(Point point)
Returns
Point converted into string. |
String |
toString(Object obj) |
public boolean canConvert(Class type)
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatchercanConvert in class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverterpublic String toString(Object obj)
toString in interface com.thoughtworks.xstream.converters.SingleValueConvertertoString in class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverterpublic Object fromString(String str)
fromString in interface com.thoughtworks.xstream.converters.SingleValueConverterfromString in class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverterCopyright © 2020. All rights reserved.