public final class StringUtils extends Object
Modifier and Type | Method and Description |
---|---|
static StringUtils |
getInstance()
Method to get the string utils instance
|
static boolean |
hasBytes(byte[] data)
Method to validate whether the given byte array is null/empty or has value
|
static boolean |
hasText(String text)
Method to validate whether the given string is null/empty or has value
|
public static StringUtils getInstance()
public static boolean hasText(String text)
text
- public static boolean hasBytes(byte[] data)
byte[]
- dataCopyright © 2021. All Rights Reserved.