登录
首页 » Java » FileUtil

FileUtil

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

  • TestExcel
    一个简单的使用C#操作excel类的范例(C# excel class)
    2016-10-20 11:49:29下载
    积分:1
  • VC 对Word档的各种
    说明:  利用VC++语言编程,在MFC中对Word文档的各种操作,可供参考。(Using VC++ language programming, various operations of Word documents in MFC can be referred to.)
    2019-03-04 14:13:21下载
    积分:1
  • FileOP
    将文件进行切割与合并,达到将一些文件的重新调整,修复(File cutting and consolidation)
    2013-04-18 10:10:06下载
    积分:1
  • fine_1
    This file can use for loading ini file.
    2009-06-02 12:42:18下载
    积分:1
  • 0515
    同步复制文件夹源码例程运用易语言操作系统界面功能支持库实现同步复制文件或文件夹,易语言命令与DLL命令相比较。(Synchronous replication folder the source routine use easy language interface features of the operating system support library implements synchronous copy a file or folder, easy language command compared DLL command.)
    2013-03-05 21:19:25下载
    积分:1
  • SPIBV
    windowssockets编程规范,有助于了解网络编程方面的相关知识,帮助读者开发()
    2017-09-24 11:47:56下载
    积分:1
  • rtm_2d
    声波,2维,逆时偏移程序.由于实现2维声波逆时偏移。包含参数卡文件,主程序以及Makfile文件。(reverse time migration for 2D acoustic wave. include parameter file ,main program and Makefile)
    2015-12-18 16:02:14下载
    积分:1
  • hinich
    hinich检验:双谱测定,非高斯性和线性的判别!(hinich test : Bispectrum determination, non-Gaussian and linear discriminant!)
    2006-09-07 10:30:24下载
    积分:1
  • PCSetEnv
    读写注册表,添加或修改环境变量,完整代码实现,(set enviorenment)
    2012-01-04 20:05:44下载
    积分:1
  • elause_oanipulator
    基于J2EE架构的工作流引擎的分析与设计,很好的代码()
    2018-02-10 21:30:40下载
    积分:1
  • 696518资源总数
  • 104737会员总数
  • 20今日下载