One can use FileReader, BufferedReader and Scanner to read a text file. ... readLines(file, "UTF-8"); for (String line: lines) { // process the line} ...
確定! 回上一頁