public final class TextUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
containsBlanks(CharSequence s) |
static boolean |
isBlank(CharSequence s)
Returns true if the parameter is null or contains only whitespace
|
static boolean |
isEmpty(CharSequence s)
Returns true if the parameter is null or of zero length
|
static String |
toHexString(byte[] bytes)
Returns a hexadecimal string with lowercase letters, representing the
values of the
bytes . |
public static boolean isEmpty(CharSequence s)
public static boolean isBlank(CharSequence s)
public static boolean containsBlanks(CharSequence s)
public static String toHexString(byte[] bytes)
bytes
.bytes
- whose hex string should be createdCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.