lyxb

Java获取项目根路径方法

String fileName = this.getClass().getResource("/").toString();
fileName.substring(5, fileName.length());

分类:

技术点:

相关文章: