public void flush() throws IOException {
  if (out == null) {
    out.flush();
  }
}

public void flush ( ) throws IOException { if ( out == null ) { out . flush ( ) ; } }
flushes this output stream and forces any buffered output bytes to be written out to the stream .
