会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
荒野猛兽
博客园
首页
新随笔
联系
管理
订阅
2019年12月3日
Maven工程使用工厂模式解耦笔记-读取配置文件
摘要: Properties props=new Properties(); //获取流 InputStream in = 类名.class.getClassLoader().getResourceAsStream("resources文件夹下的properties文件名"); props.load(in)
阅读全文
posted @ 2019-12-03 16:39 荒野猛兽
阅读(231)
评论(0)
推荐(0)
编辑
公告