delete Files In Dir With Filter
open fun deleteFilesInDirWithFilter(dirPath: String, filter: FileFilter): Boolean
Content copied to clipboard
Delete all files that satisfy the filter in directory.
Return
{@code true}
: success{@code false}
: fail
Parameters
dirPath
The path of directory.
filter
The filter.
open fun deleteFilesInDirWithFilter(dir: File, filter: FileFilter): Boolean
Content copied to clipboard
Delete all files that satisfy the filter in directory.
Return
{@code true}
: success{@code false}
: fail
Parameters
dir
The directory.
filter
The filter.