k94314517
2025-05-19 16e8c7adbee6c9ee9bac09a80d44d3bfd3fe2f0c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package cn.emay.sdk.util;
 
public class StringUtil {
 
    /**
     * 判断是否为空
     * 
     * @param val
     * @return
     */
    public static boolean isEmpty(String val) {
        if (val == null || (val.trim()).length() == 0 || "null".equals(val.trim())) {
            return true;
        } else {
            return false;
        }
    }
 
}