J2SE-StringUtils
public class StringUtilsBeta {
public static boolean isNotNull(String str){
//增加判斷字串null
if(StringUtils.isNotEmpty(str) && !str.equals("null")){
return true;
}
return false;
}
public static boolean listIsNotNull(List list){
if(list != null && list.size() > 0 && !list.isEmpty()){
return true;
}
return false;
}
}