Creates a BufferedReader that reads from a file.
Example:
var reader = BufferedReader.fromFile (new Path ("/tmp/data.txt"));
| path |
the file to read. |
|
a new BufferedReader, or null if the file cannot be opened. |