会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
陆星儿
2014年5月7日
java中获取路径的几种方式
摘要: 总是忘记, 备份一下,方便下次用.第一种:File directory = new File("");//参数为空String courseFile = directory.getCanonicalPath() ;System.out.println(courseFile);结果:C:\Docume...
阅读全文
posted @ 2014-05-07 17:44 陆星儿
阅读(310)
评论(0)
推荐(0)
编辑
导航
博客园
首页
新随笔
联系
订阅
管理
公告