会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
种一棵树最好的时间是十年前,其次是现在
博客园
首页
新随笔
联系
管理
订阅
2018年8月15日
关于读取properties文件路径问题
摘要: 1 1.方法一 2 InputStream fis =TestProperties.class.getClassLoader().getResourceAsStream(“init.properties”) 3 4 2.方法二(要求TestProperties和init.properties在同一目录下) 5 InputStream fis =TestProperties.cla...
阅读全文
posted @ 2018-08-15 11:35 1109159477
阅读(1255)
评论(0)
推荐(0)
编辑
公告