如何获取 文件类型?文件更新日期?多谢高手帮忙! 看看java.lang.Class类中有没有可用的method 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 错了,是java.io.File类,查查j2sdk documentation File类 long lastModified() Returns the time that the file denoted by this abstract pathname was last modified FileView 类 String getTypeDescription(File f) A human readable description of the type of the file. java.io.File获取文件类型你取文件的后缀就行了,更新时期是lastModified()方法。 如果将 lastModified() 转换成: 0000-00-00 00:00:00 ? 请指教 post 编码转换问题 如何画出两端点坐标可以随意改变的线 java视频处理 MM在此请教各位关于静态非静态的问题?在线等,急..... 讨论:8数码游戏中的人工智能问题 如何立即显示矩形(在线等待) Java 时间问题? 分数怎样从“管道流”入你的腰包 請教一個關於數據庫查詢的簡單問題 java ascii 和utf8无BOM的区别怎么判断? 为什么 java.lang.OutOfMemoryError 选择你的人生,选择你的前途(程序员发展必读)!!!请进!
long lastModified()
Returns the time that the file denoted by this abstract pathname was last modified FileView 类
String getTypeDescription(File f)
A human readable description of the type of the file.
获取文件类型你取文件的后缀就行了,更新时期是lastModified()方法。