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

eleme.openapi.sdk.media.upload.impl.StringUtils Maven / Gradle / Ivy

The newest version!
package eleme.openapi.sdk.media.upload.impl;

/**
 * Created by huamulou on 15/12/24.
 */
public class StringUtils {


    public static boolean isNotEmpty(String arg) {
        if (arg == null) return false;
        if (arg.length() == 0) return false;
        if (arg.trim().length() == 0) return false;
        return true;
    }

    public static boolean isEmpty(String arg) {
        return !isNotEmpty(arg);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy