@Override public void flush() throws IOException {
  writer.write(buffer,0,fill);
  fill=0;
}

@ Override public void flush ( ) throws IOException { writer . write ( buffer , 0 , fill ) ; fill = 0 ; }
flushes the internal buffer but does not flush the wrapped writer .
