Interface IGenerateArchiveService
- All Known Implementing Classes:
ZipGenerateService
public interface IGenerateArchiveService
Interface of generate archive Service
- Author:
- merlinfe
-
Method Summary
Modifier and TypeMethodDescriptionvoidarchiveDirectory(String strFolderToArchive, String strArchiveDestination, String strArchiveName) The archive methodsgetKey()the key of generate archive service
-
Method Details
-
getKey
String getKey()the key of generate archive service- Returns:
- the key of the genarate service
-
getMimeType
String getMimeType()- Returns:
- the mime type of the archive
-
archiveDirectory
void archiveDirectory(String strFolderToArchive, String strArchiveDestination, String strArchiveName) throws IOException, FileNotFoundException The archive methods- Parameters:
strFolderToArchive- path to the folder to archivestrArchiveDestination- path to the destination folder which will store the archivestrArchiveName- the name of the archive- Throws:
IOException-IOExceptionFileNotFoundException-FileNotFoundException
-