Is there any way to do that?
Because when it reads a line. It goes to the next one after that. So is there any way to go to a previous line?
Or for it to read a line but not move onto the next line next time the readLine method is called?
The way I'm doing it is using the File class and the Scanner class.