类 DsStrUtils
java.lang.Object
com.baomidou.dynamic.datasource.toolkit.DsStrUtils
常见字符串工具类
- 作者:
- TaoYu
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static booleanhasLength(CharSequence str) 判断字符串是否为空static boolean判断字符串是否为空static booleanhasText(CharSequence str) 判断字符串是否有内容static boolean
-
构造器详细资料
-
DsStrUtils
public DsStrUtils()
-
-
方法详细资料
-
isEmpty
-
hasLength
判断字符串是否为空- 参数:
str- 字符串- 返回:
- true: null or "" or " " false: "a"
-
hasLength
判断字符串是否为空- 参数:
str- 字符串- 返回:
- true: null or "" or " " false: "a"
-
hasText
判断字符串是否有内容- 参数:
str- 字符串- 返回:
- true: null or "" or " " false: "a"
-