svoid zip2zip(File inZip, ZipOutputStream outZip) ctex { ZipFile zipFile = new ZipFile(inZip); Enumeration entries = zipFile.entries(); while (entries.hasMoreElements()) { ZipEntry entry = (ZipEntry) entries.nextElement(); //System.out.println("Copying " + entry.getName()); outZip.putNextEntry(new ZipEntry(entry.getName())); InputStream fin = zipFile.getInputStream(entry); copyStream(fin, outZip); fin.close(); } zipFile.close(); } svoid zip2zip(File inZip, ZipOutputStream outZip, IPred predicate) { zip2zip_withPredicate(inZip, outZip, predicate); }