public final class IOUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
closeQuietly(Closeable... closeables)
Quietly closes each of the given
Closeable s, i.e. eats any
IOException s arising. |
static void |
closeQuietly(ZipFile... zipFiles)
Quietly closes each of the given
ZipFile s, i.e. eats any
IOException s arising. |
public static void closeQuietly(Closeable... closeables)
Closeable
s, i.e. eats any
IOException
s arising.closeables
- the closeables to close (any of which can be
null
or already closed)public static void closeQuietly(ZipFile... zipFiles)
ZipFile
s, i.e. eats any
IOException
s arising.zipFiles
- the zipFiles to close (any of which can be
null
or already closed)