public class StringHelper extends Object
| Constructor and Description |
|---|
StringHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
convertStringToType(String type,
String arg)
Convert a String Value to an Object of a Specific Type.
|
static List<String> |
trim(List<String> list)
Trim the whitespaces from all the string elements in the list.
|
static String |
trim(String srcStr)
Trim the white spaces from the source string.
|
public static List<String> trim(List<String> list)
public static String trim(String srcStr)
public static Object convertStringToType(String type, String arg) throws Exception
type - - the fully qualified name of the desired typearg - - String value to be convertedExceptionCopyright © 2011-2016 OpenESB Community. All Rights Reserved.