public class CommonUtil extends Object
protected static boolean isBlank(CharSequence cs)
Checks if a CharSequence is empty (""), null or whitespace only.
Whitespace is defined by { Character#isWhitespace(char)}.
StringUtils.isBlank(null) = true
StringUtils.isBlank("") = true
StringUtils.isBlank(" ") = true
StringUtils.isBlank("bob") = false
StringUtils.isBlank(" bob ") = false
true if the CharSequence is null, empty or whitespace onlyCopyright © 2024 tan. All rights reserved.