public class TextUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TextUtils.AlphabeticFilter |
static class |
TextUtils.AlphanumericFilter |
static class |
TextUtils.NumericFilter |
Modifier and Type | Field and Description |
---|---|
static java.util.regex.Pattern |
EMAIL_ADDRESS |
Modifier and Type | Method and Description |
---|---|
static boolean |
isEmpty(java.lang.CharSequence str)
Returns true if the string is null or 0-length.
|
static boolean |
isValidEmail(java.lang.CharSequence text)
Returns true if the char sequence is a valid email address
|
public static boolean isEmpty(java.lang.CharSequence str)
str
- the string to be examinedpublic static boolean isValidEmail(java.lang.CharSequence text)
text
- the email address to be validated