fromFile


Description:

public static BufferedReader? fromFile (Path path)

Creates a BufferedReader that reads from a file.

Example:

    var reader = BufferedReader.fromFile (new Path ("/tmp/data.txt"));

Parameters:

path

the file to read.

Returns:

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