public class CreateZip extends Object
| Modifier and Type | Field and Description |
|---|---|
static FileFilter |
JSON_FILE_FILTER |
static FileFilter |
XML_FILE_FILTER |
| Constructor and Description |
|---|
CreateZip() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createZip(String sourceDir,
String formats) |
static void |
zipDirectory(String sourceDir,
String zipfile,
String formats) |
public static final FileFilter XML_FILE_FILTER
public static final FileFilter JSON_FILE_FILTER
public static String createZip(String sourceDir, String formats) throws IOException, QMetryException
IOExceptionQMetryExceptionpublic static void zipDirectory(String sourceDir, String zipfile, String formats) throws IOException, QMetryException
IOExceptionQMetryExceptionCopyright © 2016–2021. All rights reserved.