... Java8中,可以使用Files ... read file into stream, try-with-resources try (Stream<String> stream = Files.lines(Paths.get(fileName))) ...
確定! 回上一頁