zipFiles

open fun zipFiles(srcFiles: Collection<String>, zipFilePath: String): Boolean

Zip the files.

Return

{@code true}: success{@code false}: fail

Parameters

srcFiles

The source of files.

zipFilePath

The path of ZIP file.

Throws

if an I/O error has occurred

open fun zipFiles(srcFilePaths: Collection<String>, zipFilePath: String, comment: String): Boolean

Zip the files.

Return

{@code true}: success{@code false}: fail

Parameters

srcFilePaths

The paths of source files.

zipFilePath

The path of ZIP file.

comment

The comment.

Throws

if an I/O error has occurred

open fun zipFiles(srcFiles: Collection<File>, zipFile: File): Boolean

Zip the files.

Return

{@code true}: success{@code false}: fail

Parameters

srcFiles

The source of files.

zipFile

The ZIP file.

Throws

if an I/O error has occurred

open fun zipFiles(srcFiles: Collection<File>, zipFile: File, comment: String): Boolean

Zip the files.

Return

{@code true}: success{@code false}: fail

Parameters

srcFiles

The source of files.

zipFile

The ZIP file.

comment

The comment.

Throws

if an I/O error has occurred