Class ZipGenerateService

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void archiveDirectory​(java.lang.String strFolderToArchive, java.lang.String strArchiveDestination, java.lang.String strArchiveName)
      The archive methods
      java.lang.String getKey()
      the key of generate archive service
      java.lang.String getMimeType()
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ZipGenerateService

        public ZipGenerateService()
    • Method Detail

      • archiveDirectory

        public void archiveDirectory​(java.lang.String strFolderToArchive,
                                     java.lang.String strArchiveDestination,
                                     java.lang.String strArchiveName)
                              throws java.io.IOException,
                                     java.io.FileNotFoundException
        The archive methods
        Specified by:
        archiveDirectory in interface IGenerateArchiveService
        Parameters:
        strFolderToArchive - path to the folder to archive
        strArchiveDestination - path to the destination folder which will store the archive
        strArchiveName - the name of the archive
        Throws:
        java.io.IOException - IOException
        java.io.FileNotFoundException - FileNotFoundException
      • getKey

        public java.lang.String getKey()
        the key of generate archive service
        Specified by:
        getKey in interface IGenerateArchiveService
        Returns:
        the key of the genarate service