SyntaxFix
Write A Post
Hire A Developer
Questions
Open and read the file.
Reader r = new BufferedReader(filename); String ret = ""; while((String s = r.nextLine()!=null)) { ret+=s; } return ret;