T - the type of the converterpublic interface FromStringConverter<T>
String.
FromStringConverter is an interface and must be implemented with care. Implementations must be immutable and thread-safe.
| Modifier and Type | Method and Description |
|---|---|
T |
convertFromString(java.lang.Class<? extends T> cls,
java.lang.String str)
Converts the specified object from a
String. |
T convertFromString(java.lang.Class<? extends T> cls, java.lang.String str)
String.cls - the class to convert to, not nullstr - the string to convert, not nullCopyright © 2010-2012 Joda.org. All Rights Reserved.