fromFileAppend


Description:

public static BufferedWriter? fromFileAppend (Path path)

Creates a BufferedWriter that appends to an existing file, or creates the file if it does not exist.

Example:

    var writer = BufferedWriter.fromFileAppend (new Path ("/tmp/log.txt"));

Parameters:

path

the file to append to.

Returns:

a new BufferedWriter, or null if the file cannot be opened.