open Write

public OutputStream openWrite(Boolean append)

Opens an OutputStream to write to this file. The stream can either replace the existing content or append the data at the end of the file

Return

an OutputStream to write to this file

Parameters

append

flag to indicate if the data should be appended at the end of the stream or not

Throws

if an I/O error occurs