@Override protected void flush() throws IOException {
  zipOutputStream.flush();
  zipOutputStream.finish();
  finished=true;
  super.flush();
}

@ Override protected void flush ( ) throws IOException { zipOutputStream . flush ( ) ; zipOutputStream . finish ( ) ; finished = true ; super . flush ( ) ; }
flushes all output buffers .
