fr.paris.lutece.plugins.dila.service
Interface IDilaExtractService

All Known Implementing Classes:
DilaExtractService

public interface IDilaExtractService

Interface for archive extract


Method Summary
 void extract(File file, String strArchiveName, String strDirPathExtract, String strDirPathCopy)
          Extract file
 void extractAll()
          Extract all files
 boolean isValidParameters(String strArchivesDirPath)
          Check if parameter are valid
 

Method Detail

extractAll

void extractAll()
                throws DilaException
Extract all files

Throws:
DilaException - Daemon exception

isValidParameters

boolean isValidParameters(String strArchivesDirPath)
Check if parameter are valid

Parameters:
strArchivesDirPath - the dir to check
Returns:
true if parameters are valid; else false

extract

void extract(File file,
             String strArchiveName,
             String strDirPathExtract,
             String strDirPathCopy)
             throws Exception
Extract file

Parameters:
file - file to extract
strArchiveName - the archive name
strDirPathExtract - the dir path
strDirPathCopy - the dir copy path
Throws:
Exception - occurs during treatment


Copyright © 2013 Mairie de Paris. All Rights Reserved.