Java Stream Close closeQietly(ZipFile zipFile)

Here you can find the source of closeQietly(ZipFile zipFile)

Description

close Qietly

License

Apache License

Declaration

public static void closeQietly(ZipFile zipFile) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.io.IOException;

import java.util.zip.ZipFile;

public class Main {
    public static void closeQietly(ZipFile zipFile) {
        try {/*w w  w .  j  a  v  a 2  s.  co  m*/
            zipFile.close();
        } catch (final IOException e) {
            throw new RuntimeException(e);
        }
    }
}

Related

  1. closePrintWriter(PrintWriter fileOutputStream)
  2. closeProcess(Process process)
  3. closeProcessStreams(Process p)
  4. closeProofWriter(Writer out)
  5. closeProtectedStream(final OutputStream outputStream)
  6. closeQuietly(@Nullable ObjectInput in)
  7. closeQuietly(BufferedReader br)
  8. closeQuietly(Closeable input, Logger log)
  9. closeQuietly(Closeable stream)