lyxb

Java获取项目根路径方法

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

分类:

技术点:

相关文章:

  • 2021-11-27
  • 2021-11-18
  • 2021-11-04
  • 2021-11-29
  • 2021-08-12
猜你喜欢
  • 2021-11-18
  • 2021-05-17
  • 2021-09-18
  • 2021-11-27
  • 2021-11-18
  • 2021-11-29
  • 2021-11-27
相关资源
相似解决方案