public final class IoUtils extends Object
| Constructor and Description |
|---|
IoUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
safeClose(Closeable... resources)
Close a series of resources, logging errors if they occur.
|
static void |
safeClose(Closeable resource)
Close a resource, logging an error if an error occurs.
|
public static void safeClose(Closeable... resources)
resources - the resources to closepublic static void safeClose(Closeable resource)
resource - the resource to closeCopyright © 2020 JBoss by Red Hat. All rights reserved.