|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Primary
- type to convert from (or Object
to support any typeSecondary
- type to convert topublic interface FudgeTypeConverter<Primary,Secondary>
Definition of an API for conversion of types. This is used for the primary to
secondary type conversion within a FudgeTypeDictionary
and also for
some other standard Java types.
Method Summary | |
---|---|
boolean |
canConvertPrimary(Class<? extends Primary> clazz)
Returns true if this converter can manipulate the requested class. |
Secondary |
primaryToSecondary(Primary object)
Converts an object to the secondary type this converter supports. |
Method Detail |
---|
boolean canConvertPrimary(Class<? extends Primary> clazz)
clazz
- to query
true
if a call to primaryToSecondary(Primary)
will succeed, false
if it would failSecondary primaryToSecondary(Primary object)
object
- to convert
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |