|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
FROM - The class that is the source of conversionTO - The class that is converted topublic interface Converter<FROM,TO>
Converts instances from one type to another. Useful for implementing adapters.
| Method Summary | |
|---|---|
TO |
convert(FROM source)
convert the passed object to the outgoing object |
| Method Detail |
|---|
TO convert(FROM source)
throws ConversionException
source - the source object to convert
ConversionException - if something goes wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||