ehhh, whats the best way to use `java.nio.Files` t...
# announcements
g
ehhh, whats the best way to use
java.nio.Files
to get an
Array<String>
containing lines in a file? So far all I've got is
Copy code
Files.lines(path).collect(Collectors.toList<String>()).toTypedArray()