登录
首页 » Java » FileUtil

FileUtil

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

  • HuffamnCoding
    用VC++实现的一个简单哈夫曼压缩码和解码程序,可以对任意字符的文本文件进行压缩并解压(With VC++ Realize a simple Huffman compression code and decoding procedures, arbitrary characters can compress a text file and extracting)
    2008-04-17 21:21:29下载
    积分:1
  • nin2000development
    win2000 Driver 开发 AWX(AWX win2000 Driver development)
    2017-04-15 11:02:09下载
    积分:1
  • php 示例(递归删除目录)
    //递归删除目录function deletedir($dir){$handle = opendir($dir);     while(false !==($file=readdir($handle))){       if($file!=="."&&$file!==".."){       //排除当前目录与父级目录            $file=$dir .DIRECTORY_SEPARATOR. $file;            if(is_dir($file)){                  deletedir($file);            }else{                @unlink($file);}        }     }   @rmdir($dir) ;   closedir($hadnle) ;}
    2014-07-01下载
    积分:1
  • playwaveshow
    用vb做的一个能显示wave文件的波形,适合于初学者(Done with vb a wave file can display the waveform, suitable for beginners)
    2010-08-27 15:42:45下载
    积分:1
  • 248547
    设置XP开机画面源码例程,程序演示了修改启动INI文件设置XP开机画面的功能。(Set XP boot screen code samples that demonstrate the program to modify the INI file settings XP startup splash screen functionality.)
    2015-05-08 08:42:28下载
    积分:1
  • note-book
    实现简单的记事本功能。如:打开文件,添加删除内容,字数统计与查找等功能。(Simple notepad. : Open the file, add and remove content, features such as word count and Find.)
    2012-10-29 17:03:37下载
    积分:1
  • MWOOTZ8
    说明:  
    2017-11-02 17:13:54下载
    积分:1
  • Goof
    简单的碰撞检测程序源代码及演示,包含vc 2005 工程项目.不错的(Simple collision detection program source code and demo, including vc 2005 project. Good)
    2017-07-25 22:25:36下载
    积分:1
  • jfrectory
    AMR的新版本,在VC下调试通过,有编码解码目录,(The new version of AMR, debugging through, under VC code decoding directory,)
    2017-05-21 07:37:35下载
    积分:1
  • blwj
    一个遍历文件夹中文件的例子,已经在源码上做了修改,方便调用!(traverse a document folder example, the source code has been revised to facilitate the call!)
    2006-11-13 11:29:31下载
    积分:1
  • 696516资源总数
  • 106648会员总数
  • 8今日下载