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(Class<? extends T> cls,
String str)
Converts the specified object from a
String . |
T convertFromString(Class<? extends T> cls, String str)
String
.cls
- the class to convert to, not nullstr
- the string to convert, not nullCopyright © 2010-2016 Joda.org. All Rights Reserved.