spring框架中的一个字符串的工具类

stringutils.hasText("字符串")

如果字符串里面的值为null, "", "   ",那么返回值为false;否则为true

猜你喜欢

转载自www.cnblogs.com/qingmuchuanqi48/p/11253543.html