net.sf.basedb.util.extensions.debug
Class StringConverter
java.lang.Object
net.sf.basedb.util.extensions.debug.StringConverter
public class StringConverter
- extends Object
Convert strings to other data types. This class is experimental
only and may change in the future.
- Version:
- 2.7
- Author:
- nicklas
- Last modified
- $Date: 2008-09-11 22:08:14 +0200 (Thu, 11 Sep 2008) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
converter
private static Map<Class,StringConverter> converter
type
private final Type type
defaultValue
private final Object defaultValue
StringConverter
private StringConverter(Type type,
Object defaultValue)
convertString
public static Object convertString(Class toClass,
String value)
convert
private Object convert(String value)