Package org.apache.http.util
Class TextUtils
- java.lang.Object
-
- org.apache.http.util.TextUtils
-
public final class TextUtils extends java.lang.Object
- Since:
- 4.3
-
-
Constructor Summary
Constructors Constructor Description TextUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
containsBlanks(java.lang.CharSequence s)
static boolean
isBlank(java.lang.CharSequence s)
Returns true if the parameter is null or contains only whitespacestatic boolean
isEmpty(java.lang.CharSequence s)
Returns true if the parameter is null or of zero length
-
-
-
Method Detail
-
isEmpty
public static boolean isEmpty(java.lang.CharSequence s)
Returns true if the parameter is null or of zero length
-
isBlank
public static boolean isBlank(java.lang.CharSequence s)
Returns true if the parameter is null or contains only whitespace
-
containsBlanks
public static boolean containsBlanks(java.lang.CharSequence s)
- Since:
- 4.4
-
-