public class StringUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
blob2string(Blob blob)
Blob 2 string string.
|
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 Blob |
string2blob(String str)
String 2 blob blob.
|
static String |
toString(Object obj)
Object.toString()
|
public static final boolean isNullOrEmpty(String str)
str - the strpublic static boolean isBlank(String str)
str - the strpublic static boolean isNotBlank(String str)
str - the strpublic static Blob string2blob(String str) throws SQLException
str - the strSQLException - the sql exceptionpublic static String blob2string(Blob blob) throws SQLException
blob - the blobSQLException - the sql exceptionpublic static String inputStream2String(InputStream is) throws IOException
is - the isIOException - the io exceptionCopyright © 2019 Seata. All rights reserved.