/**
* This is a util method for String object
*
* @author tom.fan@citi.com
* @date Mar 30, 2009
*/
public class StringUtil
{
public static boolean isNullOrEmptyString(String str)
{
if (str == null) return true;
if (str.trim().length() == 0) return true;
return false;
}
}
字符串工具类方法
1961

被折叠的 条评论
为什么被折叠?



