code: public void close()
          throws IOException
      {        
          // Are we already closed?
          if (_out==null)
              return;
          _closing=true;
          // Close
          try {
              notify(OutputObserver.__CLOSING);
  
              OutputStream out =_out;
              _out=null;
              
              if (out!=_bufferedOut)
                  out.close();
              else
                  _bufferedOut.close();
              
              notify(OutputObserver.__CLOSED);
          }
          catch (IOException e)
          {
              LogSupport.ignore(log,e);
          }
      }
docs: Close the stream.
  @exception IOException