jar 读取resource配置文件

165 阅读1分钟

image.png

读取配置文件:

InputStream inputStream = this.getClass().getResource(configFileName).openStream();