判断字符串是否为空
/**? * Checks if an string is empty.? */
public static boolean isEmpty(String str) {??return (str == null) || (str.trim().length() == 0);?}