SyntaxFix
Write A Post
Hire A Developer
Questions
The methods within org.apache.commons.io.FileUtils may also be very handy, e.g.:
org.apache.commons.io.FileUtils
/** * Reads the contents of a file line by line to a List * of Strings using the default encoding for the VM. */ static List readLines(File file)