fr.paris.lutece.plugins.archive.util
Class ArchiveUtil

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

public final class ArchiveUtil
extends java.lang.Object

Author:
merlinfe

Method Summary
static void deleteFile(ArchiveItem archiveItem)
          delete the file with the archiveItem parameter is provided
static void deleteFile(java.lang.String filePath)
          delete the file with the path parameter is provided
static java.lang.String getFilePath(ArchiveItem archiveItem)
          get the file path with the archiveItem parameter is provided
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

deleteFile

public static void deleteFile(java.lang.String filePath)
                       throws java.lang.Exception
delete 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


Copyright © 2011 Mairie de Paris. All Rights Reserved.