public class InsetsConverter
extends com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
Insets.| Modifier and Type | Field and Description |
|---|---|
static String |
separator
Values separator.
|
| Constructor and Description |
|---|
InsetsConverter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConvert(Class type) |
Object |
fromString(String string) |
static Insets |
insetsFromString(String string)
Returns
Insets read from string. |
static String |
insetsToString(Insets insets)
Returns
Insets converted into string. |
String |
toString(Object insets) |
public static final String separator
public boolean canConvert(@NotNull Class type)
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatchercanConvert in class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverterpublic String toString(@NotNull Object insets)
toString in interface com.thoughtworks.xstream.converters.SingleValueConvertertoString in class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverterpublic Object fromString(@NotNull String string)
fromString in interface com.thoughtworks.xstream.converters.SingleValueConverterfromString in class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter@NotNull public static String insetsToString(@NotNull Insets insets)
Insets converted into string.insets - Insets to convertCopyright © 2020. All rights reserved.