public void finish() throws IOException {
  checkClosed();
  write();
}

public void finish ( ) throws IOException { checkClosed ( ) ; write ( ) ; }
finishes writing current uncompressed data into the inflateroutputstream without closing it .
