会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
N!CE波
我的GitHub地址: https://github.com/zhangboqing
博客园
首页
新随笔
联系
管理
订阅
2020年5月10日
【Java】如何获取文件的创建时间、更新时间
摘要: 一、通过下面方式 BasicFileAttributes attr = null; try { Path path = file.toPath(); attr = Files.readAttributes(path, BasicFileAttributes.class); } catch (IOEx
阅读全文
posted @ 2020-05-10 23:57 N!CE波
阅读(11902)
评论(0)
推荐(1)
编辑
公告