All Downloads are FREE. Search and download functionalities are using the official Maven repository.

common.framework.util.StringUtil Maven / Gradle / Ivy

There is a newer version: 1.0.2-RELEASE
Show newest version
package common.framework.util;

/**
 * 

Description: String工具包,包装hutool工具 * 包装String工具包,后期方便替换

* * @author linan * @date 2020-10-21 */ public class StringUtil { /** * 判断字符串是null或空,null或""都返回true * * @param str 字符串 * @return boolean */ public static boolean isNullOrEmpty(String str) { return false == isNotNullOrEmpty(str); } /** * 判断字符串不是null或空 * * @param str 字符串 * @return */ public static boolean isNotNullOrEmpty(String str) { if (str != null && !str.equals("")) { return true; } else { return false; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy