July 2018
Intermediate to advanced
242 pages
8h 6m
English
In this recipe, we are going to retrieve the contents of a file as a set of consecutive text lines. We are going to use the standard library extension function, File.readLines(), to return a List of a String type representing the next lines of the given File instance.
Read now
Unlock full access