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) throws IOException
targetFile
- file that will contain the zipped filesresources
- resources to compressIOException
- in case of any error processing the filesCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.