AmniXtension / com.amnix.xtension.extras / ZipUtils
class ZipUtils
Name | Summary |
---|---|
getComments | Return the files' comment in ZIP file.static fun getComments(zipFilePath: String !): MutableList < String !>! static fun getComments(zipFile: File !): MutableList < String !>! |
getFilesPath | Return the files' path in ZIP file.static fun getFilesPath(zipFilePath: String !): MutableList < String !>! static fun getFilesPath(zipFile: File !): MutableList < String !>! |
unzipFile | Unzip the file.static fun unzipFile(zipFilePath: String !, destDirPath: String !): MutableList < File !>! static fun unzipFile(zipFile: File !, destDir: File !): MutableList < File !>! |
unzipFileByKeyword | Unzip the file by keyword.static fun unzipFileByKeyword(zipFilePath: String !, destDirPath: String !, keyword: String !): MutableList < File !>! static fun unzipFileByKeyword(zipFile: File !, destDir: File !, keyword: String !): MutableList < File !>! |
zipFile | Zip the file.static fun zipFile(srcFilePath: String !, zipFilePath: String !): Boolean static fun zipFile(srcFilePath: String !, zipFilePath: String !, comment: String !): Boolean static fun zipFile(srcFile: File !, zipFile: File !): Boolean static fun zipFile(srcFile: File !, zipFile: File !, comment: String !): Boolean |
zipFiles | Zip the files.static fun zipFiles(srcFiles: MutableCollection < String !>!, zipFilePath: String !): Boolean static fun zipFiles(srcFilePaths: MutableCollection < String !>!, zipFilePath: String !, comment: String !): Boolean static fun zipFiles(srcFiles: MutableCollection < File !>!, zipFile: File !): Boolean static fun zipFiles(srcFiles: MutableCollection < File !>!, zipFile: File !, comment: String !): Boolean |