public class StringUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
equals(String a,
String b)
Equals boolean.
|
static boolean |
equalsIgnoreCase(String a,
String b)
Equals ignore case boolean.
|
static byte[] |
inputStream2Bytes(InputStream is)
Input stream to byte array
|
static String |
inputStream2String(InputStream is)
Input stream 2 string string.
|
static boolean |
isBlank(String str)
Is blank string ?
|
static boolean |
isNotBlank(String str)
Is Not blank string ?
|
static boolean |
isNullOrEmpty(String str)
Is empty boolean.
|
static String |
toString(Object obj)
Object.toString()
|
public static boolean isNullOrEmpty(String str)
str - the strpublic static boolean isBlank(String str)
str - the strpublic static boolean isNotBlank(String str)
str - the strpublic static boolean equals(String a, String b)
a - the ab - the bpublic static boolean equalsIgnoreCase(String a, String b)
a - the ab - the bpublic static String inputStream2String(InputStream is)
is - the ispublic static byte[] inputStream2Bytes(InputStream is)
is - the isCopyright © 2019 Seata. All rights reserved.