会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
七彩的人生
你能 无限可能
首页
新随笔
管理
2018年12月21日
springboot 读取resource目录下的文件
摘要: Resource resource =new ClassPathResource("dictionary.txt"); BufferedReader reader=null; //reader=new BufferedReader(new FileReader(file));这样在web运行的时候,读取会乱码 reade...
阅读全文
posted @ 2018-12-21 15:27 lyon♪♫
阅读(621)
评论(0)
推荐(0)
编辑