SyntaxFix
Write A Post
Hire A Developer
Questions
Just use Apache Commons IO
List<String> lines = IOUtils.readLines(new FileInputStream("path/of/text"));