67,512
社区成员
发帖
与我相关
我的任务
分享
URL = new URL(this.getClass().getClassLoader().getResource("com/mycompany/data/images/1234.gif"));
或者
InputStream is = this.getClass().getClassLoader().getResourceAsStream("com/mycompany/data/images/1234.gif"));