Clears all buffers for this Writer object and causes any buffered data to be written to the underlying device.
public void flush()