Java 反射 获取文件绝对路径

this.class.getClassLoader().getResource("文件名称.后缀名");

猜你喜欢

转载自blog.csdn.net/weixin_41124484/article/details/83175968