public class IOUtilsClient extends Object
Constructor and Description |
---|
IOUtilsClient() |
Modifier and Type | Method and Description |
---|---|
static void |
cleanup(org.slf4j.Logger log,
Closeable... closeables)
Close the Closeable objects and ignore any
IOException or
null pointers. |
public static void cleanup(org.slf4j.Logger log, Closeable... closeables)
IOException
or
null pointers. Must only be used for cleanup in exception handlers.log
- the log to record problems to at debug level. Can be null.closeables
- the objects to closeCopyright © 2018 Apache Software Foundation. All Rights Reserved.