JAVA中如何得到文件路径.docxVIP

  • 19
  • 0
  • 约1.21万字
  • 约 15页
  • 2021-09-23 发布于天津
  • 举报
JAVA 中如何得到文件路径 如何获得当前文件路径 常用: 字符串类型: System.getProperty(user.dir); 综合: package com.zcjl.test.base; import java.io.File; public class Test { public static void main(String[] args) throws Exception { System.out.println( Thread.currentThread().getContextClassLoader ().getResource()); System.out.println

文档评论(0)

1亿VIP精品文档

相关文档