File Utils
class FileUtils
Content copied to clipboard
author: Blankj
blog : http://blankj.com
time : 2016/05/03
desc : utils about file
Types
OnReplaceListener
Link copied to clipboard
interface OnReplaceListener
Content copied to clipboard
Functions
createFileByDeleteOldFile
Link copied to clipboard
createOrExistsDir
Link copied to clipboard
createOrExistsFile
Link copied to clipboard
deleteAllInDir
Link copied to clipboard
deleteFile
Link copied to clipboard
deleteFilesInDir
Link copied to clipboard
deleteFilesInDirWithFilter
Link copied to clipboard
open fun deleteFilesInDirWithFilter(dir: File, filter: FileFilter): Boolean
Content copied to clipboard
open fun deleteFilesInDirWithFilter(dirPath: String, filter: FileFilter): Boolean
Content copied to clipboard
getDirLength
Link copied to clipboard
getDirName
Link copied to clipboard
getDirSize
Link copied to clipboard
getFileByPath
Link copied to clipboard
getFileCharsetSimple
Link copied to clipboard
getFileExtension
Link copied to clipboard
getFileFromBytes
Link copied to clipboard
getFileLastModified
Link copied to clipboard
getFileLength
Link copied to clipboard
getFileLines
Link copied to clipboard
getFileMD5
Link copied to clipboard
getFileMD5ToString
Link copied to clipboard
getFileName
Link copied to clipboard
getFileNameNoExtension
Link copied to clipboard
getFileSize
Link copied to clipboard
isFileExists
Link copied to clipboard
listFilesInDir
Link copied to clipboard
open fun listFilesInDir(dirPath: String, isRecursive: Boolean): List<File>
Content copied to clipboard
listFilesInDirWithFilter
Link copied to clipboard
open fun listFilesInDirWithFilter(dir: File, filter: FileFilter): List<File>
Content copied to clipboard
open fun listFilesInDirWithFilter(dirPath: String, filter: FileFilter): List<File>
Content copied to clipboard
open fun listFilesInDirWithFilter(dir: File, filter: FileFilter, isRecursive: Boolean): List<File>
Content copied to clipboard
open fun listFilesInDirWithFilter(dirPath: String, filter: FileFilter, isRecursive: Boolean): List<File>
Content copied to clipboard