static boolean isEmptyWhitespace ( @ Nullable final String s ) { if ( s == null ) { return true ; } return CharMatcher . WHITESPACE . matchesAllOf ( s ) ; }
Returns flag whose value indicates if the string is null empty or only contains whitespace characters