| java.lang.Object com.sun.jbi.management.util.StringHelper
StringHelper | public class StringHelper (Code) | | Helper class for string operations
author: Sun Microsystems, Inc. |
convertStringToType | public static Object convertStringToType(String type, String arg) throws Exception(Code) | | Convert a String Value to an Object of a Specific Type.
Parameters: type - - the fully qualified name of the desired type Parameters: arg - - String value to be converted Object Instance of the type specified, constructed with the String value |
trim | public static List<String> trim(List<String> list)(Code) | | Trim the whitespaces from all the string elements in the list. If the string
is empty then it is removed from the list.
|
trim | public static String trim(String srcStr)(Code) | | Trim the white spaces from the source string. If the string is a null
value, an empty string is returned.
|
|
|