public static boolean isStringNullOrEmpty ( final String input ) { if ( input == null || input . trim ( ) . isEmpty ( ) ) { return true ; } return false ; }
Test to see if a String is null or contains only whitespace .