public final class MiscUtils extends Object
Modifier and Type | Method and Description |
---|---|
static IOException |
buildStaticException(String message) |
static void |
closeSilently(Closeable closeable) |
static boolean |
getBoolean(String systemPropName,
boolean defaultValue) |
static boolean |
isNonEmpty(byte[] array) |
static boolean |
isNonEmpty(Collection<?> collection) |
static boolean |
isNonEmpty(Map<?,?> map) |
static boolean |
isNonEmpty(Object[] array) |
static boolean |
isNonEmpty(String string) |
public static boolean isNonEmpty(String string)
public static boolean isNonEmpty(Object[] array)
public static boolean isNonEmpty(byte[] array)
public static boolean isNonEmpty(Collection<?> collection)
public static boolean isNonEmpty(Map<?,?> map)
public static boolean getBoolean(String systemPropName, boolean defaultValue)
public static void closeSilently(Closeable closeable)
public static IOException buildStaticException(String message)
Copyright © 2015. All Rights Reserved.