|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of the converterpublic interface FromStringConverter<T>
Interface defining conversion from a String
.
FromStringConverter is an interface and must be implemented with care. Implementations must be immutable and thread-safe.
Method Summary | |
---|---|
T |
convertFromString(Class<? extends T> cls,
String str)
Converts the specified object from a String . |
Method Detail |
---|
T convertFromString(Class<? extends T> cls, String str)
String
.
cls
- the class to convert to, not nullstr
- the string to convert, not null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |