Java1.8 获取文件总行数

Files.lines(Paths.get("aaa.txt")).count();

posted on 2019-05-27 18:13  长方形  阅读(1852)  评论(0编辑  收藏  举报

导航