File.flush

Overview | Methods | This Package | All Packages

File.flush

Clears the buffers for this file and causes all buffered data to be written to the file.

Syntax

public void flush()

Exceptions

WinIOException thrown if an error occurs or if the file has been closed.

Remarks

This method calls the FlushFileBuffers Windows API function.

Overrides   DataStream.flush

See Also    com.ms.wfc.io.IByteStream.flush