Package org.fugerit.java.core.cfg
Class CloseHelper
- java.lang.Object
-
- org.fugerit.java.core.cfg.CloseHelper
-
public class CloseHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
close(Closeable ac)
static void
close(AutoCloseable ac)
static Exception
closeAll(Closeable... c)
static Exception
closeAll(AutoCloseable... c)
static void
closeAllAndThrowConfigRuntime(AutoCloseable... c)
static void
closeRuntimeEx(Closeable ac)
static void
closeRuntimeEx(AutoCloseable ac)
static boolean
closeSilent(Closeable ac)
static boolean
closeSilent(AutoCloseable ac)
-
-
-
Method Detail
-
close
public static void close(AutoCloseable ac) throws ConfigException
- Throws:
ConfigException
-
close
public static void close(Closeable ac) throws ConfigException
- Throws:
ConfigException
-
closeRuntimeEx
public static void closeRuntimeEx(AutoCloseable ac)
-
closeRuntimeEx
public static void closeRuntimeEx(Closeable ac)
-
closeSilent
public static boolean closeSilent(AutoCloseable ac)
-
closeSilent
public static boolean closeSilent(Closeable ac)
-
closeAll
public static Exception closeAll(AutoCloseable... c)
-
closeAllAndThrowConfigRuntime
public static void closeAllAndThrowConfigRuntime(AutoCloseable... c)
-
-