public void close() throws IOException {
  if (closed) {
    return;
  }
  if (gzipstream != null) {
    gzipstream.close();
    gzipstream=null;
  }
  closed=true;
}

public void close ( ) throws IOException { if ( closed ) { return ; } if ( gzipstream != null ) { gzipstream . close ( ) ; gzipstream = null ; } closed = true ; }
close this output stream , causing any buffered data to be flushed and any further output data to throw an ioexception .
