Is there any method to read a specific line from a text file ? In the API or Apache Commons. Something like :
String readLine(File file, int lineNumber)
If you are going to work with the same file in the same way (looking for a text at certain line) you can index your file. Line number -> offset.