Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Latest commit

 

History

History
16 lines (12 loc) · 6.63 KB

File metadata and controls

16 lines (12 loc) · 6.63 KB

AmniXtension / com.amnix.xtension.extras / ZipUtils

ZipUtils

class ZipUtils

Functions

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