public class ZipGenerateService extends Object implements IGenerateArchiveService
| Constructor and Description |
|---|
ZipGenerateService() |
| Modifier and Type | Method and Description |
|---|---|
void |
archiveDirectory(String strFolderToArchive,
String strArchiveDestination,
String strArchiveName)
The archive methods
|
String |
getKey()
the key of generate archive service
|
String |
getMimeType() |
public void archiveDirectory(String strFolderToArchive, String strArchiveDestination, String strArchiveName) throws IOException, FileNotFoundException
archiveDirectory in interface IGenerateArchiveServicestrFolderToArchive - path to the folder to archivestrArchiveDestination - path to the destination folder which will store the archivestrArchiveName - the name of the archiveIOException - IOExceptionFileNotFoundException - FileNotFoundExceptionpublic String getKey()
getKey in interface IGenerateArchiveServicepublic String getMimeType()
getMimeType in interface IGenerateArchiveServiceCopyright © 2016 Mairie de Paris. All rights reserved.