public final class ZipUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
generateZip(String srcFolder,
String outputZip)
Generate a zip
Due to a bug in Java 7 corrected in Java 8 http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7156873
srcFolder and outputZip can't be URL encoded if you're using java 7.
|
public static List<String> generateZip(String srcFolder, String outputZip) throws IOException, URISyntaxException
srcFolder - source folderoutputZip - zip folderIOException - if an error occurs creating the zip archive.URISyntaxException - if an error occurs creating the zip archive.Copyright © 2010–2023 Open Identity Platform Community. All rights reserved.