登录
首页 » Java » FileUtil

FileUtil

于 2011-12-26 发布 文件大小:2KB
0 161
下载积分: 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 个回复

  • VC++实现excel表格的读写
    VC++实现excel表格的读写,程序开发中可以直接拿来用,排版非常清晰(VC++ Realize excel forms of reading and writing, program development can be directly used to use, layout is very clear)
    2020-06-26 02:40:02下载
    积分:1
  • hjldwg
    一个快速读写DWG的文件源代码,DWG是矢量开发中经常碰到的文件格式,DWG文件格式比较烦琐,此库为程序员读写DWG文件节省很多精力(a fast read and write DWG document source code, Vector DWG development is frequently encountered in the paper format, DWG file format, and more than that, for this to read and write DWG programmers to save a lot of energy documents)
    2007-03-15 00:13:14下载
    积分:1
  • 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
  • Hard-Reset-Files-Links-1
    Hard Reset Files Links 1
    2016-02-08 18:02:48下载
    积分:1
  • icc
    ic读写源代码,创建文件、读、写等功能的简单实现。(Source code of IC card IO)
    2010-05-21 14:28:14下载
    积分:1
  • Rename
    该程序用于批量修改文件名,是一个基于对话框的MFC小程序,利用CListCtrl控件来显示读取的文件名与浏览改动后的文件名(The procedure used to bulk modify the file name, is an MFC dialog-based applet, using CListCtrl control to display the file name to read and navigate change the file name)
    2009-02-03 15:35:18下载
    积分:1
  • rekuesent
    利用C++中CreatePolygonRgn,CreateRoundRectRgn,CreateRoundRectRgn,()
    2017-10-28 15:27:03下载
    积分:1
  • lrbnnf
    用VC6++对A寻路算法的简单实现,在界面上点击鼠标就行()
    2017-10-30 20:41:03下载
    积分:1
  • mfile
    计算图像的平均梯度,边缘强度,信息熵以及方差,图像可以是单波段或多波段图像。(Calculation of the average image gradient, edge strength, information entropy and the variance, images can be single-band or multi-band image.)
    2008-04-25 15:15:29下载
    积分:1
  • GetDir
    能够很好的获取文件的路径信息源码。 根据路径能够遍历路径下的文件。 适合学习用。(Can be a good source to get the file path information. According to traverse the path of the file path. Suitable for learning.)
    2013-12-23 10:16:23下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载