I need to read a file line by line using java.nio, but nio doesn\'t have a method like readline() to read one, complete line at a time
java.nio
nio
readline()
Why? NIO doesn't support reading lines. You can read millions of lines a second with BufferedReader.readLine(). I suggest that is sufficient.
BufferedReader.readLine().