@Test public void testContainsNonWhitespace() { assertTrue(StringHelper.containsNonWhitespace("asdf")); assertTrue(StringHelper.containsNonWhitespace(" asdf")); assertTrue(StringHelper.containsNonWhitespace("asdf ")); assertTrue(StringHelper.containsNonWhitespace("asdf t\r")); assertTrue(StringHelper.containsNonWhitespace("hello world")); assertFalse(StringHelper.containsNonWhitespace(null)); assertFalse(StringHelper.containsNonWhitespace("")); assertFalse(StringHelper.containsNonWhitespace(" ")); assertFalse(StringHelper.containsNonWhitespace(" ")); assertFalse(StringHelper.containsNonWhitespace(" \t \r")); }
public static boolean containsNonWhitespace(String s) { if (s == null) return false; Matcher matcher = WHITESPACE_PATTERN.matcher(s); return !matcher.find(); }
StringHelper { public static boolean containsNonWhitespace(String s) { if (s == null) return false; Matcher matcher = WHITESPACE_PATTERN.matcher(s); return !matcher.find(); } }
StringHelper { public static boolean containsNonWhitespace(String s) { if (s == null) return false; Matcher matcher = WHITESPACE_PATTERN.matcher(s); return !matcher.find(); }  }
StringHelper { public static boolean containsNonWhitespace(String s) { if (s == null) return false; Matcher matcher = WHITESPACE_PATTERN.matcher(s); return !matcher.find(); }  static List<String> getParts(String in, String delim); static String formatLocaleDate(long date, Locale locale); static String formatLocaleDateFull(long date, Locale locale); static String formatLocaleDateTime(long date, Locale locale); static String formatLocaleTime(long time, Locale locale); static String formatMemory(long mem); static String formatFloat(float f, int fractionDigits); static String urlEncodeISO88591(String url); static String urlEncodeUTF8(String url); static String[] getMapKeysAsStringArray(Map m); static String[] getMapValuesAsStringArray(Map m); static boolean containsNoneOfCoDouSemi(String s); static boolean containsNonWhitespace(String s); static String stripLineBreaks(String cellValue); static String transformDisplayNameToFileSystemName(String s); static String check4xMacRoman(String extractedCharset); static String formatAsCSVString(Set<String> entries); static String formatAsCSVString(List<String> entries); static String formatAsSortUniqCSVString(List<String> s); static String formatAsSortUniqCSVString(Set<String> s); }
StringHelper { public static boolean containsNonWhitespace(String s) { if (s == null) return false; Matcher matcher = WHITESPACE_PATTERN.matcher(s); return !matcher.find(); }  static List<String> getParts(String in, String delim); static String formatLocaleDate(long date, Locale locale); static String formatLocaleDateFull(long date, Locale locale); static String formatLocaleDateTime(long date, Locale locale); static String formatLocaleTime(long time, Locale locale); static String formatMemory(long mem); static String formatFloat(float f, int fractionDigits); static String urlEncodeISO88591(String url); static String urlEncodeUTF8(String url); static String[] getMapKeysAsStringArray(Map m); static String[] getMapValuesAsStringArray(Map m); static boolean containsNoneOfCoDouSemi(String s); static boolean containsNonWhitespace(String s); static String stripLineBreaks(String cellValue); static String transformDisplayNameToFileSystemName(String s); static String check4xMacRoman(String extractedCharset); static String formatAsCSVString(Set<String> entries); static String formatAsCSVString(List<String> entries); static String formatAsSortUniqCSVString(List<String> s); static String formatAsSortUniqCSVString(Set<String> s); static final String ALL_WITHOUT_COMMA_2POINT_STRPNT; }