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 IPluginFileHelper
createFacade(PluginRuntime runtime)
static void
deletePluginFiles(PluginRuntime prtm)
static void
deletePluginFiles(String scopeKey, String runtimeKey)
static File
getPluginFolder(PluginRuntime runtime)
static File
getPluginFolder(String scopeKey, String runtimeKey)
static File
getPluginJarFile(PluginRuntime rtm)
static File
getPluginJarFile(String scopeKey, String runtimeKey)
static File
getPluginMetaFile(PluginRuntime rtm)
static File
getPluginMetaFile(String scopeKey, String runtimeKey)
static File
getPluginPropertiesFile(PluginRuntime rtm)
static File
getPluginPropertiesFile(String scopeKey, String runtimeKey)
static void
removeJarFileCacheEntries(JarFile jarToDelete)
Removes any cache entry forJarURLConnection
andJarFile
static void
updatePluginFiles(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 forJarURLConnection
andJarFile
- 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)
-
-