zip
Compresses the specified directory into a .zip file.
Parameters
source Dir Path
The path of the directory to be compressed.
stream
The OutputStream to write the .zip file to.
Throws
If there is an issue creating the .zip file.
Compresses the specified directory into a .zip file.
The path of the directory to be compressed.
The OutputStream to write the .zip file to.
If there is an issue creating the .zip file.