构造器和说明 |
---|
StringUtil() |
限定符和类型 | 方法和说明 |
---|---|
static boolean |
andIsBlank(String... strs) |
static boolean |
andIsEmpty(String... strs) |
static String |
bytesToHexStr(byte[] bytes) |
static String |
bytesToStr(byte[] bytes) |
static boolean |
equals(String str1,
String str2) |
static byte[] |
hexStrToBytes(String hexStr) |
static String |
hexStrToStr(String hexStr) |
static boolean |
isBlank(String str) |
static boolean |
isEmpty(String str) |
static boolean |
isNotBlank(String str) |
static boolean |
isNotEmpty(String str) |
static String |
merge(Object... objects) |
static boolean |
orIsBlank(String... strs) |
static boolean |
orIsEmpty(String... strs) |
static byte[] |
strToBytes(String str) |
static String |
strToHexStr(String str) |
static double |
toDouble(String str) |
static float |
toFloat(String str) |
static int |
toInt(String str) |
static long |
toLong(String str) |
static String |
toMD5(String str) |
public static boolean isEmpty(String str)
public static boolean andIsEmpty(String... strs)
public static boolean orIsEmpty(String... strs)
public static boolean isNotEmpty(String str)
public static boolean isBlank(String str)
public static boolean andIsBlank(String... strs)
public static boolean orIsBlank(String... strs)
public static boolean isNotBlank(String str)
public static byte[] strToBytes(String str)
public static String bytesToStr(byte[] bytes)
public static byte[] hexStrToBytes(String hexStr)
public static String bytesToHexStr(byte[] bytes)
public static int toInt(String str)
public static long toLong(String str)
public static double toDouble(String str)
public static float toFloat(String str)
Copyright © 2016–2019. All rights reserved.