code: 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();
    }
docs: Transforms the input stream entry, writes that to output stream, closes entry in the output stream.
  
  @param in input stream of the entry contents
  @param zipEntry zip entry metadata
  @param out output stream to write transformed entry (if necessary)
  
  @throws IOException if anything goes wrong