Class FileProcess
java.lang.Object
edu.jiangxin.apktoolbox.file.core.FileProcess
文件或文件夹的简单处理
- Author:
- jiangxin, 2018-09-09
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
copyDirectory
(String srcDirString, String desDirString) 复制文件夹static void
复制文件static boolean
递归删除目录static boolean
deleteDirs
(String[] dirs) 删除目录组static void
移动文件
-
Constructor Details
-
FileProcess
public FileProcess()
-
-
Method Details
-
copyFile
复制文件- Parameters:
srcFileString
-desFileString
-
-
copyDirectory
复制文件夹- Parameters:
srcDirString
-desDirString
-- Throws:
IOException
-
moveFile
移动文件- Parameters:
srcFileString
-desFileString
-isOverride
-- Throws:
IOException
-
deleteDir
递归删除目录- Parameters:
dir
-- Returns:
- 返回是否删除成功
-
deleteDirs
删除目录组- Parameters:
dirs
-- Returns:
- 返回是否删除成功
-