public static void zipFiles ( List < File > files , File zipFile ) throws IOException { OutputStream os = new BufferedOutputStream ( new FileOutputStream ( zipFile ) ) ; try { zipFiles ( files , os ) ; } finally { IOUtils . closeQuietly ( os ) ; } }
Zips a collection of files to a destination zip file .