Package com.gengoai.io
Class QuietIO
- java.lang.Object
-
- com.gengoai.io.QuietIO
-
public class QuietIO extends Object
IO Operations that suppress exceptions- Author:
- David B. Bracewell
-
-
Constructor Summary
Constructors Constructor Description QuietIO()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
closeQuietly(Closeable closeable)
Closes theCloseable
ignoring any exceptionstatic void
closeQuietly(AutoCloseable closeable)
Closes theAutoCloseable
ignoring any exception
-
-
-
Method Detail
-
closeQuietly
public static void closeQuietly(Closeable closeable)
Closes theCloseable
ignoring any exception- Parameters:
closeable
- thing to close
-
closeQuietly
public static void closeQuietly(AutoCloseable closeable)
Closes theAutoCloseable
ignoring any exception- Parameters:
closeable
- thing to close
-
-