|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Converter<S,T>
A converter converts a source object of type S to a target of type T. Implementations of this interface are thread-safe and can be shared.
Method Summary | |
---|---|
T |
convert(S source)
Convert the source of type S to target type T. |
Method Detail |
---|
T convert(S source)
source
- the source object to convert, which must be an instance of S
IllegalArgumentException
- if the source could not be converted to the desired target type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |