AES encryption strength, including AES_STRENGTH_128
, AES_STRENGTH_192
, AES_STRENGTH_256
Compression level, 0~9, 0 means no compression, 9 is the smallest size (slow). Default is 5 (normal compression).
Compression method, COMP_STORE
means store the file without compression, COMP_DEFLATE
means compress (default)
Specify the default folder path when compressing or adding files.
Encryption method, ENC_NO_ENCRYPTION
means no encryption (default), ENC_METHOD_STANDARD
means standard encryption, ENC_METHOD_AES
means AES encryption
Specify the path and name of the file when compressing or adding file.
Set the flag to indicate whether the root folder will be included in the ZIP. Default is true.
Password for encryption. If set password but not set encryption method, the encryption method will be AES.
Whether to include hidden files when compressing folder. If true, hidden files will be included when compressing folder. Default is true.
Set the name of the root folder in the ZIP.
Compression options.
zipDir
zipFiles
zipFile
ZipFile.addFolder
ZipFile.addFile
ZipFile.addFiles