public class ZipUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ZipUtils.ZipResource
Describes a resource that can be compressed in a ZIP file
|
| Modifier and Type | Method and Description |
|---|---|
static void |
compress(File targetFile,
ZipUtils.ZipResource[] resources)
Compress a set of resource files into a ZIP file
|
public static void compress(File targetFile, ZipUtils.ZipResource[] resources)
targetFile - file that will contain the zipped filesresources - resources to compressUncheckedIOException - in case of any error processing the filesCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.