|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A TypeConvertor converts between one object type and another.
Nested Class Summary | |
static interface |
TypeConvertor.ConvertorFactory
A type convertor factory allows for dynamically created type convertors. |
Method Summary | |
java.lang.Object |
convertFromObject(java.lang.Object object,
java.lang.Object errSource)
Convert an object from one type to another. |
java.lang.String |
convertToString(java.lang.Object object,
java.lang.Object errSource)
Convert an object of this convertor's type to a string |
java.lang.Class |
getType()
Get the single type that this convertor converts. |
Method Detail |
public java.lang.Object convertFromObject(java.lang.Object object, java.lang.Object errSource)
object
- the object to converterrSource
- the source object used to attach errors to
public java.lang.String convertToString(java.lang.Object object, java.lang.Object errSource)
object
- the object to converterrSource
- the source object used to attach errors to
public java.lang.Class getType()
|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |