Determine whether java String is empty
the StringUtils {class public / ** * detecting a character variable is empty; <br> * is the empty case, comprising: null, or contains only an empty string can be trim () character; * / public static Boolean isEmpty Final (String value) { return (value == null || value.trim () length () == 0.); } }