| java.lang.Object org.andromda.andromdapp.AndroMDAppUtils
AndroMDAppUtils | public class AndroMDAppUtils (Code) | | Some utlities for dealing with the AndroMDApp generator.
author: Chad Brandon |
Method Summary | |
public static Object | convert(Object value, String type) Attempts to convert the given value to the given
type (if the type is specifed), otherwise does nothing and
returns the value unchanged.
Parameters: value - the value to convert. Parameters: type - the type to convert it to. | public static String[] | stringToArray(String string) Converts a comma delimated string to an array of Strings.
Parameters: string - to convert. |
convert | public static Object convert(Object value, String type)(Code) | | Attempts to convert the given value to the given
type (if the type is specifed), otherwise does nothing and
returns the value unchanged.
Parameters: value - the value to convert. Parameters: type - the type to convert it to. the converted, or unconverted dependending on whether ir neededto be converted. |
stringToArray | public static String[] stringToArray(String string)(Code) | | Converts a comma delimated string to an array of Strings.
Parameters: string - to convert. the resulting array or null if the string was null. |
|
|