2013年4月6日

Class.getResourceAsStream

摘要: Class.getResourceAsStream("abc.properties")方法:1,如果使用“/”开头则从类路径根目录寻找资源;2,没有“/”开头,则选择相对路径,即当前class同包下面找;ClassLoader.getResourceAsStream("abc.propert... 阅读全文

posted @ 2013-04-06 14:09 子非鱼焉 阅读(87) 评论(0) 推荐(0) 编辑

导航