2020年12月11日
摘要: 从本地类路径下读取文件并转为字符串: String s = new String(IOUtils.readFully(new ClassPathResource("init/student.sql").getInputStream(), -1, true), "utf-8"); 1.本方法可以一次性 阅读全文
posted @ 2020-12-11 23:57 足下之路 阅读(2125) 评论(0) 推荐(0) 编辑