public void close() throws IOException {
  finish();
  out.close();
}

public void close ( ) throws IOException { finish ( ) ; out . close ( ) ; }
writes remaining compressed data to the output stream and closes the underlying stream .
