diff --git a/src/main/java/com/bonus/autoweb/UI/frame/StringHelper.java b/src/main/java/com/bonus/autoweb/UI/frame/StringHelper.java deleted file mode 100644 index 0dfdb84..0000000 --- a/src/main/java/com/bonus/autoweb/UI/frame/StringHelper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.bonus.autoweb.UI.frame; - -public class StringHelper { - public static boolean isEmpty(String str) { - if (str == null || str.trim().equals("") || str.trim().equals("null")) { - return true; - } - return false; - } - /** - * 判断字符串 不为空 - */ - public static boolean isNotEmpty(String str) { - return !isEmpty(str); - } - - public static boolean isEmptyAndNull(String str) { - if (str == null || "".equals(str.trim()) || "null".equals(str.trim())) { - return true; - } - return false; - } - public static String fillPrefixZero(int v, int len) { - String vStr = v + ""; - while (vStr.length() < len) { - vStr = "0" + vStr; - } - return vStr; - } -} \ No newline at end of file