How to read a text file line by line with Java NIO
I want to show you how to read all the lines of a file with the Java Non-blocking I/O API (package java.nio) and provide some historical context how this compares to earlier versions of the java.io API.