![JAR search and dependency download from the Maven repository](/logo.png)
com.github.naviit.libs.common.util.StringUtil Maven / Gradle / Ivy
/************************************************
* Copyright 2017 by DTT - All rights reserved. *
************************************************/
package com.github.naviit.libs.common.util;
/**
* @author Dang Thanh Tung
* {@literal }
* @since 28/12/2017
*/
public class StringUtil {
public static final String EMPTY = "";
public static final String SPACE = " ";
public static boolean isEmpty(String...args) {
for (String ele : args) {
if(ele == null || ele.trim().isEmpty()) return true;
}
return false;
}
public static boolean isEmpty(String value) {
return value == null || value.isEmpty();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy