Class StringUtils
- java.lang.Object
-
- com.github.nosan.embedded.cassandra.commons.StringUtils
-
public final class StringUtils extends Object
Simple utility methods for dealing with strings.- Since:
- 4.0.0
- Author:
- Dmytro Nosan
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanhasText(CharSequence source)Check whether the providedstringcontains actual text.
-
-
-
Method Detail
-
hasText
public static boolean hasText(CharSequence source)
Check whether the providedstringcontains actual text.- Parameters:
source- thestringto check (may benull)- Returns:
trueif thestringis notnull, its length is greater than 0, and it does not contain whitespace only
-
-