Interface IGenerateArchiveService
-
- All Known Implementing Classes:
ZipGenerateService
public interface IGenerateArchiveServiceInterface of generate archive Service- Author:
- merlinfe
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidarchiveDirectory(java.lang.String strFolderToArchive, java.lang.String strArchiveDestination, java.lang.String strArchiveName)The archive methodsjava.lang.StringgetKey()the key of generate archive servicejava.lang.StringgetMimeType()
-
-
-
Method Detail
-
getKey
java.lang.String getKey()
the key of generate archive service- Returns:
- the key of the genarate service
-
getMimeType
java.lang.String getMimeType()
- Returns:
- the mime type of the archive
-
archiveDirectory
void archiveDirectory(java.lang.String strFolderToArchive, java.lang.String strArchiveDestination, java.lang.String strArchiveName) throws java.io.IOException, java.io.FileNotFoundExceptionThe 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:
java.io.IOException-IOExceptionjava.io.FileNotFoundException-FileNotFoundException
-
-