登录
首页 » Java » FileUtil

FileUtil

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

  • pcd
    这是点云库学习pcl里面的程序中所提到的pcd格式的文件。(point cloud pcd)
    2020-11-25 10:59:32下载
    积分:1
  • UMATHT
    这个是abaqus的子程序以及inp文件,可用用于材料生热的模拟。(it is the UMATHT for abaqus.)
    2020-11-30 20:49:27下载
    积分:1
  • MyLib
    针对Windows下的文件夹,可以创建、删除、复复制、查找、枚举等操作(For Windows folder, you can opetate it as create, delete, multiple copy, find, enumeration and so on)
    2013-02-24 13:47:00下载
    积分:1
  • winpe
    类似Borland公司的Tdump的程序。分析DLL/EXE文件信息(The app of analysising the infomation of DLL or EXE , which is like the TDump of Borland)
    2020-11-05 10:09:54下载
    积分:1
  • Office-pro
    如何动态创建播放幻灯片,如何直接播放幻灯片文件,如何使用自动化运行Word宏,如何使用自动化生成Excel图表等等...(How to dynamically create a slide show, how to direct the slideshow file, how to use automation to run Word macro, how to use automation to generate Excel charts, etc. ...)
    2013-11-22 08:18:15下载
    积分:1
  • evolution-of-STD-and-header-files
    C++标准库——命名空间std和头文件的演变(The C++ Standard Library-- the evolution of namespace STD and header files)
    2012-11-03 22:24:44下载
    积分:1
  • javadirtree
    java实现系统目录树控件 //导入以下类 import cn.xcode.framework.gui.useModule.xFilesTree.FilesTreeManager //在面板初始化的地方 FilesTreeManager ftm=new FilesTreeManager() //新增一个文件目录树总管对象 JTree tree=ftm.getFilesTree() //新增一个JTree对象,把ftm.getFilesTree()赋值给它这个树就是系统文件目录树了; ftm.setShowHidenFiles(true) //设置是否显示隐藏文件 ftm.setShowFilesMode(ftm.SHOWFILESMODE_ALL) //显示的模式有两种(ftm.SHOWFILESMODE_ALL 显示全部 (java realization of the system directory tree control// into the following categories of import cn.xcode.framework.gui.useModule.xFilesTree.FilesTreeManager// in the panel to initialize the local FilesTreeManager ftm = new FilesTreeManager ()// add a file directory Object Explorer tree JTree tree = ftm.getFilesTree ()// add a JTree object to ftm.getFilesTree () assigned to it by the tree is a tree system files ftm.setShowHidenFiles (true)// Set whether to display hidden document ftm.setShowFilesMode (ftm.SHOWFILESMODE_ALL)// show mode, there are two (ftm.SHOWFILESMODE_ALL Show All)
    2008-06-19 14:16:16下载
    积分:1
  • headfiles
    实际中使用的各种C++头文件汇总说明,对编程者很有用,较详细(C++ head files for us to programe,it is very useful)
    2009-03-09 13:57:14下载
    积分:1
  • 24Bmp
    采用CFile打开并显示24位位图,可以对位图数据进行操作,程序简单实用。(CFile used to open and display 24 bitmap, right bitmap data operations, procedures simple and practical.)
    2007-03-25 10:17:30下载
    积分:1
  • ReadWriteText
    用C#编写的可以读写各种文本二进制文件的小程序(C# can be prepared in reading and writing texts small binary files procedures)
    2007-01-02 21:50:25下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载