this.class.getClassLoader().getResource("文件名称.后缀名");
Java 反射 获取文件绝对路径
猜你喜欢
转载自blog.csdn.net/weixin_41124484/article/details/83175968
今日推荐
周排行