public void transform ( InputStream in , ZipEntry zipEntry , ZipOutputStream out ) throws IOException { ZipEntry entry = new ZipEntry ( zipEntry . getName ( ) ) ; entry . setTime ( System . currentTimeMillis ( ) ) ; out . putNextEntry ( entry ) ; transform ( zipEntry , in , out ) ; out . closeEntry ( ) ; }
Transforms the input stream entry writes that to output stream closes entry in the output stream .