public void closeWrite() throws IOException {
  OutputStream os=_os;
  _os=null;
  os.close();
}

public void closeWrite ( ) throws IOException { OutputStream os = _os ; _os = null ; os . close ( ) ; }
closes the write half of the stream .
