上一页 1 ··· 3 4 5 6 7
摘要: Class.getResourceAsStream() 会指定要加载的资源路径与当前类所在包的路径一致。 例如你写了一个MyTest类在包com.test.mycode 下,那么MyTest.class.getResourceAsStream("name") 会在com.test.mycode包下查 阅读全文
posted @ 2017-01-07 15:56 feibazhf 阅读(167) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7