public final class ZipGenerateUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ARCHIVE_MIME_TYPE_ZIP |
static String |
ARCHIVE_TYPE_ZIP |
static int |
CONSTANTE_FILE_BUFFER |
| Constructor and Description |
|---|
ZipGenerateUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
archiveDirectory(String strFolderToArchive,
String strArchiveDestination,
String strArchiveName)
The archive methods
|
static String |
getKey()
the key of generate archive service
|
static String |
getMimeType() |
public static final String ARCHIVE_TYPE_ZIP
public static final String ARCHIVE_MIME_TYPE_ZIP
public static final int CONSTANTE_FILE_BUFFER
public static void archiveDirectory(String strFolderToArchive, String strArchiveDestination, String strArchiveName) throws IOException, FileNotFoundException
strFolderToArchive - path to the folder to archivestrArchiveDestination - path to the destination folder which will store the archivestrArchiveName - the name of the archiveIOException - IOExceptionFileNotFoundException - FileNotFoundExceptionpublic static String getKey()
public static String getMimeType()
Copyright © 2017 Mairie de Paris. All rights reserved.