public class ZipUtils extends Object
| Constructor and Description |
|---|
ZipUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
zip(String sourceDirPath,
String zipFilePath)
A method to zip a folder with given path.
|
public static void zip(String sourceDirPath, String zipFilePath) throws IOException
sourceDirPath - src path to zipzipFilePath - created zip file pathIOException - error while creating the zip fileCopyright © 2019 WSO2. All rights reserved.