Package de.xima.fc.plugin.helper
Class PluginFileHelper
- java.lang.Object
 - 
- de.xima.fc.plugin.helper.PluginFileHelper
 
 
- 
public class PluginFileHelper extends Object
- Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description PluginFileHelper() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IPluginFileHelpercreateFacade(PluginRuntime runtime)static voiddeletePluginFiles(PluginRuntime prtm)static voiddeletePluginFiles(String scopeKey, String runtimeKey)static FilegetPluginFolder(PluginRuntime runtime)static FilegetPluginFolder(String scopeKey, String runtimeKey)static FilegetPluginJarFile(PluginRuntime rtm)static FilegetPluginJarFile(String scopeKey, String runtimeKey)static FilegetPluginMetaFile(PluginRuntime rtm)static FilegetPluginMetaFile(String scopeKey, String runtimeKey)static FilegetPluginPropertiesFile(PluginRuntime rtm)static FilegetPluginPropertiesFile(String scopeKey, String runtimeKey)static voidremoveJarFileCacheEntries(JarFile jarToDelete)Removes any cache entry forJarURLConnectionandJarFilestatic voidupdatePluginFiles(PluginSyncData pluginData) 
 - 
 
- 
- 
Method Detail
- 
updatePluginFiles
public static void updatePluginFiles(PluginSyncData pluginData) throws IOException
- Throws:
 IOException
 
- 
removeJarFileCacheEntries
public static void removeJarFileCacheEntries(JarFile jarToDelete)
Removes any cache entry forJarURLConnectionandJarFile- Parameters:
 jarToDelete- the jar file to remove from cache
 
- 
deletePluginFiles
public static void deletePluginFiles(PluginRuntime prtm) throws IOException
- Throws:
 IOException
 
- 
deletePluginFiles
public static void deletePluginFiles(String scopeKey, String runtimeKey) throws IOException
- Throws:
 IOException
 
- 
getPluginPropertiesFile
public static File getPluginPropertiesFile(PluginRuntime rtm)
 
- 
getPluginPropertiesFile
public static File getPluginPropertiesFile(String scopeKey, String runtimeKey)
 
- 
getPluginMetaFile
public static File getPluginMetaFile(PluginRuntime rtm)
 
- 
getPluginJarFile
public static File getPluginJarFile(PluginRuntime rtm)
 
- 
getPluginFolder
public static File getPluginFolder(PluginRuntime runtime)
 
- 
createFacade
public static IPluginFileHelper createFacade(PluginRuntime runtime)
 
 - 
 
 -