| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static byte | castAsByte(final int c)
Casts character to byte filtering non-visible and non-ASCII characters before conversion |
| public static boolean | |
| public static boolean | Returns: true if the CharSequence is null, empty or whitespace onlythe CharSequence to check, may be null s)Checks if a CharSequence is empty (""), null or whitespace only. |
| public static boolean | |
| public static int | Returns: CharSequence length or0 if the CharSequence is
null.a CharSequence or cs)nullGets a CharSequence length or |
| public static String | Returns: hex string for the byteswhose hex string should be created bytes)Returns a hexadecimal string with lowercase letters, representing the
values of the |
| public static String |
| TextUtils | back to summary |
|---|---|
| private TextUtils() | |
| castAsByte | back to summary |
|---|---|
| public static byte castAsByte(final int c) Casts character to byte filtering non-visible and non-ASCII characters before conversion
| |
| containsBlanks | back to summary |
|---|---|
public static boolean containsBlanks(final CharSequence s)
| |
| isBlank | back to summary |
|---|---|
| public static boolean isBlank(final CharSequence s) Checks if a CharSequence is empty (""), null or whitespace only. Whitespace is defined by
TextUtils.isBlank(null) = true
TextUtils.isBlank("") = true
TextUtils.isBlank(" ") = true
TextUtils.isBlank("abg") = false
TextUtils.isBlank(" abg ") = false
| |
| isEmpty | back to summary |
|---|---|
| public static boolean isEmpty(final CharSequence s) Returns true if the parameter is null or of zero length | |
| length | back to summary |
|---|---|
| public static int length(final CharSequence cs) Gets a CharSequence length or
| |
| toHexString | back to summary |
|---|---|
| public static String toHexString(final byte[] bytes) Returns a hexadecimal string with lowercase letters, representing the
values of the
| |
| toLowerCase | back to summary |
|---|---|
| public static String toLowerCase(final String s) Returns lower case representation of the given string
using
| |