@Override public void flush(){
  if (_line.length() > 0 || _text.length() > 0)   breakLine();
  try {
    _writer.flush();
  }
 catch (  IOException except) {
    if (_exception == null)     _exception=except;
  }
}

@ Override public void flush ( ) { if ( _line . length ( ) > 0 || _text . length ( ) > 0 ) breakLine ( ) ; try { _writer . flush ( ) ; } catch ( IOException except ) { if ( _exception == null ) _exception = except ; } }
flush the output stream . must be called when done printing the document , otherwise some text might be buffered .
