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 IGenerateArchiveService
strFolderToArchive
- path to the folder to archivestrArchiveDestination
- path to the destination folder which will store the archivestrArchiveName
- the name of the archiveIOException
- IOException
FileNotFoundException
- FileNotFoundException
public String getKey()
getKey
in interface IGenerateArchiveService
public String getMimeType()
getMimeType
in interface IGenerateArchiveService
Copyright © 2018 City of Paris. All rights reserved.