摘要: 1、首先要准备一个可以查询文件和分类的工具类 /** * 查询文件 * @param file 目标路径 * @param list 装查询的文件容器 * @throws IOException */ public static void queryAllFile(File file, List<M 阅读全文
posted @ 2021-09-02 17:01 学习就是进步! 阅读(443) 评论(0) 推荐(0)
摘要: logger.info(">>>>>>>>>>>>>>>>>>>>>>>>>读取txt开始"); File file = new File(filepath); try { if (file.isFile() && file.exists()) { InputStreamReader read = 阅读全文
posted @ 2021-09-02 12:35 学习就是进步! 阅读(466) 评论(0) 推荐(0)