2014年5月6日

Java加载配置文件的方式

摘要: 1.通过文件流来加载1 InputStream in= new FileInputStream("sample.properties"); 2 Properties properties = new Properties();3 properties .load(in);这种方式采用相对路... 阅读全文

posted @ 2014-05-06 15:52 暮风吹雪 阅读(300) 评论(0) 推荐(0) 编辑

导航