public class IOUtils extends Object
Constructor and Description |
---|
IOUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
closeQuietly(AutoCloseable closeable)
Close the auto-closeable if not null and ignore any exceptions.
|
static void |
closeQuietly(Closeable closeable)
Close the closeable if not null and ignore any exceptions.
|
static void |
closeThrowSqlException(AutoCloseable closeable,
String label)
Close it and ignore any exceptions.
|
static void |
closeThrowSqlException(Closeable closeable,
String label)
Close it and ignore any exceptions.
|
public static void closeQuietly(AutoCloseable closeable)
public static void closeQuietly(Closeable closeable)
public static void closeThrowSqlException(AutoCloseable closeable, String label) throws SQLException
SQLException
public static void closeThrowSqlException(Closeable closeable, String label) throws SQLException
SQLException
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.