@Override public void flush() throws IOException {
  flushBytes(true);
}

@ Override public void flush ( ) throws IOException { flushBytes ( true ) ; }
flushes this writer . this implementation ensures that all buffered bytes are written to the target stream . after writing the bytes , the target stream is flushed as well .
