|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeConvertor
Interface for a type convertor. A type convertor converts a Java object from one type to another. A type convertor implementation is required for each type of conversion.
Method Summary | |
---|---|
java.lang.Object |
convert(java.lang.Object object)
Convert the object from one type to another. |
Method Detail |
---|
java.lang.Object convert(java.lang.Object object) throws java.lang.ClassCastException
object
- The object to convert.
java.lang.ClassCastException
- The object is not of the type supported by this convertor.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |