private final void flushBuffer() throws IOException {
  if (bufferSize == 0)   return;
  flushed=true;
  if (nextChar == 0)   return;
  writer.write(cb,0,nextChar);
  nextChar=0;
}

private final void flushBuffer ( ) throws IOException { if ( bufferSize == 0 ) return ; flushed = true ; if ( nextChar == 0 ) return ; writer . write ( cb , 0 , nextChar ) ; nextChar = 0 ; }
flush the output buffer to the underlying character stream , without flushing the stream itself . this method is non - private only so that it may be invoked by printstream .
