fr.etai.xat2v2.util
Class CommonUtil
java.lang.Object
fr.etai.xat2v2.util.CommonUtil
public final class CommonUtil
- extends Object
Method Summary |
static boolean |
hasAnyNull(String... vals)
Checks if at least one val is null or empty |
static boolean |
isNullOrEmpty(String value)
Checks if the value is null or empty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isNullOrEmpty
public static boolean isNullOrEmpty(String value)
- Checks if the value is null or empty
- Parameters:
value
-
- Returns:
hasAnyNull
public static boolean hasAnyNull(String... vals)
- Checks if at least one val is null or empty
- Parameters:
vals
-
- Returns:
- true if the vals contains at least one null or empty value, false otherwise
Copyright © 2012. All Rights Reserved.