public final class StringConverter extends Object implements SimpleTypeConverter
String objects.
It is thread-safe.
| Modifier and Type | Method and Description |
|---|---|
static StringConverter |
create()
Returns the single
StringConverter. |
Object |
fromString(String value)
Converts the given
String object into an object with the simple data type this converter is
intended for. |
String |
toString(Object value)
Converts the given value to a
String object. |
public static StringConverter create()
StringConverter.public Object fromString(String value)
String object into an object with the simple data type this converter is
intended for.fromString in interface SimpleTypeConvertervalue - the String object to convertpublic String toString(Object value)
String object.toString in interface SimpleTypeConvertervalue - the value to convertCopyright © 2014. All rights reserved.