question: public static void zipFiles ( File zip , File ... files ) throws IOException { try ( BufferedOutputStream bufferedOut = new BufferedOutputStream ( new FileOutputStream ( zip ) ) ) { zipFiles ( bufferedOut , files ) ; } }
target:  Create an output ZIP stream and add each file to that stream. Directory files are added recursively. The contents of the zip are written to the given file.