public class AndroMDAppUtils extends Object
Constructor and Description |
---|
AndroMDAppUtils() |
Modifier and Type | Method and Description |
---|---|
static Object |
convert(Object value,
String type)
Attempts to convert the given
value to the given
type (if the type is specified), otherwise does nothing and
returns the value unchanged. |
static String[] |
stringToArray(String string)
Converts a comma delimited string to an array of Strings.
|
public AndroMDAppUtils()
public static String[] stringToArray(String string)
string
- to convert.public static Object convert(Object value, String type)
value
to the given
type
(if the type is specified), otherwise does nothing and
returns the value unchanged.value
- the value to convert.type
- the type to convert it to.Copyright © 2005–2014 AndroMDA.org. All rights reserved.