Class StringUtils
java.lang.Object
com.amilesend.client.util.StringUtils
Simple string utility methods.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisBlank(CharSequence cs) Determines if the given char sequence is blank.static booleanisEmpty(CharSequence cs) Determines if the given char sequence is empty.static booleanDetermines if the given char sequence is not blank.static booleanDetermines if the given char sequence is not empty.
-
Field Details
-
EMPTY
- See Also:
-
-
Method Details
-
isBlank
Determines if the given char sequence is blank.- Parameters:
cs- the char sequence to evaluate- Returns:
trueif blank; else,false
-
isNotBlank
Determines if the given char sequence is not blank.- Parameters:
cs- the char sequence to evaluate- Returns:
trueif not blank; else,false
-
isEmpty
Determines if the given char sequence is empty.- Parameters:
cs- the char sequence to evaluate- Returns:
trueif empty; else,false
-
isNotEmpty
Determines if the given char sequence is not empty.- Parameters:
cs- the char sequence to evaluate- Returns:
trueif not empty; else,false
-