net.sf.statcvs.util
Class StringUtils
java.lang.Object
net.sf.statcvs.util.StringUtils
public final class StringUtils
- extends Object
- Author:
- xhensevalb
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isNotEmpty
public static boolean isNotEmpty(String txt)
- Returns:
- true if txt !=null and not empty.
listify
public static List listify(String str,
String delimiter)
- helper method to convert a 'delimiter' separated string to a list.
- Parameters:
str
- the 'delimiter' separated stringdelimiter
- typically a ','
- Returns:
- a list
trim
public static String trim(String tok)