zip

public static void zip(File file, String destZipFile)

Compresses a list of files to a destination zip file

Parameters

file

File to zip

destZipFile

The path of the destination zip file

Throws

java.io.FileNotFoundException
java.io.IOException