Interface StringUtils
public interface StringUtils
An utility interface that giving access to methods that validate Strings
-
Method Summary
Static Methods Modifier and Type Method Description static boolean
isBlank(java.lang.CharSequence cs)
Checks if a CharSequence is empty (""), null or whitespace only.
-
Method Details
-
isBlank
static boolean isBlank(java.lang.CharSequence cs)Checks if a CharSequence is empty (""), null or whitespace only. Whitespace is defined byCharacter.isWhitespace(char)
.- Parameters:
cs
- the char sequence to verify- Returns:
- true if blank, false otherwise
-