public class StringConverter extends Object
Modifier and Type | Field and Description |
---|---|
private static Map<Class<?>,StringConverter> |
converter |
private Object |
defaultValue |
private Type |
type |
Modifier | Constructor and Description |
---|---|
private |
StringConverter(Type type,
Object defaultValue) |
Modifier and Type | Method and Description |
---|---|
private Object |
convert(String value) |
static Object |
convertString(Class toClass,
String value) |
private static Map<Class<?>,StringConverter> converter
private final Type type
private final Object defaultValue