Java
剑若成风
这个作者很懒,什么都没留下…
展开
-
HttpURLConnection getContentType源码解读
原创 2021-09-30 15:20:02 · 371 阅读 · 0 评论 -
java获取路径
//获取当前类生成目录 System.out.println(Main.class.getResource("").getPath()); System.out.println(Main.class.getResource(".").getPath()); System.out.println(Main.class.getResource("./").getPath());//获取当前类生成目录的上原创 2017-04-13 00:15:28 · 200 阅读 · 0 评论