Class ArchiveUtil

java.lang.Object
fr.paris.lutece.plugins.archive.util.ArchiveUtil

public final class ArchiveUtil extends Object
Author:
merlinfe
  • Method Details

    • deleteFile

      public static void deleteFile(String filePath) throws Exception
      delete the file with the path parameter is provided
      Parameters:
      filePath - the file path
      Throws:
      Exception - Exception
    • getFilePath

      public static 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 Exception
      delete the file with the archiveItem parameter is provided
      Parameters:
      archiveItem - the archiveItem
      Throws:
      Exception - Exception