fr.paris.lutece.plugins.archive.service.archive
Interface IGenerateArchiveService

All Known Implementing Classes:
ZipGenerateService

public interface IGenerateArchiveService

Interface of generate archive Service

Author:
merlinfe

Method Summary
 void archiveDirectory(String strFolderToArchive, String strArchiveDestination, String strArchiveName)
          The archive methods
 String getKey()
          the key of generate archive service
 String getMimeType()
           
 

Method Detail

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 archive
strArchiveDestination - path to the destination folder which will store the archive
strArchiveName - the name of the archive
Throws:
IOException - IOException
FileNotFoundException - FileNotFoundException


Copyright © 2014 Mairie de Paris. All Rights Reserved.