commons-io.jar:FileUtils读取文件所有行File file = new File("c:\\123.txt");List<String> lines = FileUtils.readLines(file, "UTF-8");