Class ArchiveUtil
- java.lang.Object
-
- fr.paris.lutece.plugins.archive.util.ArchiveUtil
-
public final class ArchiveUtil extends java.lang.Object- Author:
- merlinfe
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddeleteFile(ArchiveItem archiveItem)delete the file with the archiveItem parameter is providedstatic voiddeleteFile(java.lang.String filePath)delete the file with the path parameter is providedstatic java.lang.StringgetFilePath(ArchiveItem archiveItem)get the file path with the archiveItem parameter is provided
-
-
-
Method Detail
-
deleteFile
public static void deleteFile(java.lang.String filePath) throws java.lang.Exceptiondelete the file with the path parameter is provided- Parameters:
filePath- the file path- Throws:
java.lang.Exception-Exception
-
getFilePath
public static java.lang.String getFilePath(ArchiveItem archiveItem)
get the file path with the archiveItem parameter is provided- Parameters:
archiveItem- archiveItem- Returns:
- the file path
-
deleteFile
public static void deleteFile(ArchiveItem archiveItem) throws java.lang.Exception
delete the file with the archiveItem parameter is provided- Parameters:
archiveItem- the archiveItem- Throws:
java.lang.Exception-Exception
-
-