@Override public void close() throws IOException {
  flush();
  output.close();
}

@ Override public void close ( ) throws IOException { flush ( ) ; output . close ( ) ; }
closes this stream . any buffered data is flushed . this implementation closes the target stream .
