文件名称:q5_1
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2013-06-06
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- cui****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1) 编写一个图形化小工具,功能类似系统工具dir,可查看用户给定文件的创建时间、文件类型、文件大小等信息。
提示:
创建时间、文件大小等信息可直接通过file类取得,文件类型需要写方法判断,接受用户输入的文件名,截取其后缀,根据其后缀判断文件的类型。例如后缀为.java的是Java的源程序文件,后缀为.txt的是文本文件。注意提高程序的容错性(输入的格式的多样性和不确定性)。-A) preparation of a graphical gadgets, functionally similar system tools dir, given by the user can view the file creation time, file type, file size, and other information. Tip: creation time, file size and other information can be obtained directly through the file type, file type, methods need to write judgments, accept user input file name, the interception of the suffix, according to its extension to determine the file type. For example suffix. Java is a Java source file, the suffix of. Txt is a text file. Note improve program fault tolerance (input format diversity and uncertainty).
提示:
创建时间、文件大小等信息可直接通过file类取得,文件类型需要写方法判断,接受用户输入的文件名,截取其后缀,根据其后缀判断文件的类型。例如后缀为.java的是Java的源程序文件,后缀为.txt的是文本文件。注意提高程序的容错性(输入的格式的多样性和不确定性)。-A) preparation of a graphical gadgets, functionally similar system tools dir, given by the user can view the file creation time, file type, file size, and other information. Tip: creation time, file size and other information can be obtained directly through the file type, file type, methods need to write judgments, accept user input file name, the interception of the suffix, according to its extension to determine the file type. For example suffix. Java is a Java source file, the suffix of. Txt is a text file. Note improve program fault tolerance (input format diversity and uncertainty).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
q5_1.java