2017年6月13日

获得程序当前路径System.getProperty("user.dir")

摘要: 因为所有在java.io中的类都是将相对路径名解释为起始于用户的当前工作目录,所以应该清楚当前的目录。 可以通过调用System.getProperty("user.dir") 来获得。 System.getProperty("user.dir") 当前工程路径 (Test.class.getPac 阅读全文

posted @ 2017-06-13 08:25 &大飞 阅读(2359) 评论(0) 推荐(0) 编辑

导航