登录
首页 » Java Develop » 1。文件和目录管理,对java.io.file类编程,采用煤炭。

1。文件和目录管理,对java.io.file类编程,采用煤炭。

于 2022-05-05 发布 文件大小:19.34 kB
0 176
下载积分: 2 下载次数: 1

代码说明:

1.文件和目录管理,使用java.io.File类编程,完成如下功能: (1)输入文件名称 (2)判断该文件名称是否存在 (3)若文件存在,判断是文件还是目录 (4)若是文件则输出文件的各种属性 (5)若是目录则输出其中包含的所有文件的名称 2.二进制文件的读写操作,用InputStream和OutputStream及其子类,设计并实现一个可以完成文件复制操作的程序。 3.文本文件的读写操作,编写一个文本文件分析程序,读入一个英文文本文件,统计其中单词、数字、标点符号等元素出现的次数,并记录单词总数。提示:对文件的分析可以使用StreamTokenizer类。 4.异常处理程序的编写,在上述三个程序中应用异常处理方法增加程序的错误处理能力。-1. File and directory management, the use of java.io.File class programming to complete the following functions : (a) input file name (2) to determine that the names of the existence of documents (3) If the file exists, or judgment is that the paper catalog (4) If the paper is output files the various attributes (5) If the directories containing the output of all documents name two. Binary file reading or writing, using InputStream and OutputStream and its sub-class design and realization of a complete copy of the operating procedures. 3. The text files and write, to prepare a text file analysis program, read an English text files, statistics words, numbers, punctuat

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 树脂
    resin-3.0.8 发布JAVA程序 JSP-resin-3.0.8 release JAVA program JSP
    2022-10-24 08:30:03下载
    积分:1
  • 这是一个JAVA宠物网站
    这是一个JAVA宠物网站--epet。用的是MVC架构编写的(struts+Hibernate+Spring+Ajax版)。-This is a JAVA pet site- epet. Using a MVC framework for the preparation of the (struts+ Hibernate+ Spring+ Ajax version).
    2022-02-13 13:42:29下载
    积分:1
  • 这是一些好的程序和数据库内容, 在这里和大家一起分享了.
    这是一些好的程序和数据库内容, 在这里和大家一起分享了.-This is some good and database content, and here we share together.
    2022-05-07 13:50:14下载
    积分:1
  • Java Games adventure cave source code, resource files, you have interest in runn...
    Java游戏山洞历险源代码,附有资源文件,有兴趣调试运行一下,记得以前有一段打字游戏类似这个。-Java Games adventure cave source code, resource files, you have interest in running debugging, remember that there is a typing game similar to this.
    2023-03-06 23:45:04下载
    积分:1
  • tetris是一款用java编写的小游戏
    tetris是一款用java编写的小游戏--俄罗斯方块,界面简单,如果新手要写此类软件,可以参考一下-tetris is one prepared with a small java games-- Russian box, and a simple interface, If the novice to write such software, it should take a look
    2022-01-26 02:10:30下载
    积分:1
  • java实现划线程序!
    用java实现划线程序!-with procedures to achieve crossed!
    2023-06-17 01:55:03下载
    积分:1
  • Missionary problem
    传教士问题使用java编写,解决基本问题-Missionary problem
    2022-05-12 23:01:48下载
    积分:1
  • Java数据库编程实例(5)
    Java数据库编程实例(5)-Java Database Programming Example (5)
    2022-05-16 13:20:13下载
    积分:1
  • java3DAPi,chm格式,详细讲述了java3D的API接口函数。是使用java3D进行三维编程的必备助手。...
    java3DAPi,chm格式,详细讲述了java3D的API接口函数。是使用java3D进行三维编程的必备助手。-java3DAPi, chm format, detailed account of the java3D of API interface functions. Is to use java3D essential three-dimensional programming assistant.
    2022-08-11 21:46:32下载
    积分:1
  • 扫雷 minsweeper
    第2章 扫雷 esBITMAP10.BMP   .............BITMAP11.BMP   .............itmap2.bmp   .............BITMAP20.BMP 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2023-07-25 20:20:02下载
    积分:1
  • 696518资源总数
  • 106215会员总数
  • 5今日下载