Here you can find the source of close(ZipFile file)
public static void close(ZipFile file)
//package com.java2s; //License from project: LGPL import java.io.IOException; import java.util.zip.ZipFile; import java.util.zip.ZipOutputStream; public class Main { public static void close(ZipOutputStream zos) { if (zos == null) return; try {/* w w w .j av a 2s . com*/ zos.close(); } catch (IOException e) { } } public static void close(ZipFile file) { if (file == null) return; try { file.close(); } catch (IOException e) { } } }