public class IOUtils
extends org.apache.commons.io.IOUtils
File utilities. Extends the provides by apache-common-IO
Constructor and Description |
---|
IOUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
closeQuietly(ZipFile zipFile)
Unconditionally close an
ZipFile . |
public static void closeQuietly(ZipFile zipFile)
ZipFile
.
Equivalent to ZipFile.close()
, except any exceptions will be ignored.
This is typically used in finally blocks.
zipFile
- the ZipFile to close, may be null or already closed