| java.lang.Object org.andromda.core.common.Converter
Converter | public class Converter (Code) | | A class used for converting simple types to other types (i.e.
java.lang.String -> java.lang.Integer, etc).
author: Chad Brandon |
Method Summary | |
public static Object | convert(Object object, Class expectedType) Attempts to convert the object to the expectedType .
Parameters: object - the object to convert. Parameters: expectedType - the type to which it should be converted. |
convert | public static Object convert(Object object, Class expectedType)(Code) | | Attempts to convert the object to the expectedType .
Parameters: object - the object to convert. Parameters: expectedType - the type to which it should be converted. the converted object |
|
|