登录
首页 » Java » FileUtil

FileUtil

于 2011-12-26 发布 文件大小:2KB
0 191
下载积分: 1 下载次数: 14

代码说明:

  简单实现文件(夹)的复制、移动、删除、获取大小等操作 复制文件或者目录,复制前后文件完全一样。 删除一个文件或者目录 。 移动文件或者目录,移动前后文件完全一样,如果目标文件夹不存在则创建。 重命名文件或文件夹 。 读取文件或者目录的大小 。 判断一个文件是否存在 。 本地某个目录下的文件列表(不递归) 。 递归目录下的所有文件。 将字符串写入指定文件(当指定的父路径中文件夹不存在时,会最大限度去创建,以保证保存成功!) 获得文件大小(Simple implementation file (folder) copy, move, delete, size and other operations for Copy files or directories, copy files around the same. Delete a file or directory. Moving files or directories, move files around the same, if the target folder does not exist is created. Rename the file or folder. Read the file or directory size. Determine whether a file exists. Local list of files in a directory (not recursive). Recursive directory of all files. Write the string specified file (when the path specified in the parent folder does not exist, it will maximize to create, save to ensure success!) Get file size)

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

发表评论

0 个回复

  • RaplaceText
    用指定内容替换文件中的指定内容,并将更改结果保存在当前文件中。(Replace the contents of the specified file with the specified content, and change the results stored in the current file.)
    2013-12-01 12:14:21下载
    积分:1
  • gyclic
    文件夹的操作Copy, Move and Delete files and directories without(Folder operating Copy, Move and Delete files and directories without)
    2017-04-22 20:41:08下载
    积分:1
  • 永乐软
    文档一体化系统是从档案管理的实际情况出发而研发的,总体上力求简明、实用和功能完备;操作风格上,尽可能地向大家所熟悉的微软产品靠近。它具有文档一体化功能,乡镇、机关档案室可以从收发文登记开始管理,以归档类目为桥梁,通过归档操作,最终完成归档工作。此系统启运方便快捷。(Document integration system is developed from the actual situation of archives management, and strives to be concise, practical and functional in general. In terms of operation style, it is as close as possible to Microsoft products that you are familiar with. It has the function of document integration. Township and government archives office can start management from the registration of receiving and receiving documents, take the archiving category as a bridge, and finally complete the archiving work through the archiving operation. This system is easy to operate.)
    2020-06-23 23:40:01下载
    积分:1
  • csharpfilefolder
    C#小程序,判断文件或文件夹在指定目录下是否存在的功能(C# applet to determine the file or folder in the specified directory exists function)
    2014-07-05 19:21:52下载
    积分:1
  • XUUV
    简单的打字程序在VB下运行可执行性朝好,书牍可以自己调()
    2017-11-04 17:38:55下载
    积分:1
  • edftt
    这是一个多文件模块,功能也是比较好的,可以学习参考(This is a multimedia module, the function is also better, you can learn reference)
    2017-02-21 21:28:12下载
    积分:1
  • copy2_manylines
    用matlab实现将一个txt文档中的每行数据复制成多行再保存起来(This m file is to copy the data of a line in a txt file to many lines.)
    2012-12-18 12:34:25下载
    积分:1
  • kasjd
    说明:  打开一篇word文档,保存到数据库的某个字段中,实现word文档保存(Open a word document, save to the database in a field, save the document to achieve word)
    2011-04-09 11:55:57下载
    积分:1
  • testXml
    实现对xml文件的操作 简单的对tinyxml进行解释(Xml files to achieve simple explanation of tinyxml)
    2009-04-28 23:54:23下载
    积分:1
  • ListBox1
    一个打包工具,从电脑的任意盘选择一些file,将内容写入一个自定义的file中并存入自定义的地方(A packaged tool, select some file any disk from the computer to write the contents of a custom file and stored in a custom place)
    2012-10-11 11:04:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载