public class PluginFileHelper extends Object
Constructor and Description |
---|
PluginFileHelper() |
Modifier and Type | Method and 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 for
JarURLConnection and JarFile |
static void |
updatePluginFiles(PluginSyncData pluginData) |
public static void updatePluginFiles(PluginSyncData pluginData) throws IOException
IOException
public static void removeJarFileCacheEntries(JarFile jarToDelete)
JarURLConnection
and JarFile
jarToDelete
- the jar file to remove from cachepublic static void deletePluginFiles(PluginRuntime prtm) throws IOException
IOException
public static void deletePluginFiles(String scopeKey, String runtimeKey) throws IOException
IOException
public static File getPluginPropertiesFile(PluginRuntime rtm)
public static File getPluginPropertiesFile(String scopeKey, String runtimeKey)
public static File getPluginMetaFile(PluginRuntime rtm)
public static File getPluginJarFile(PluginRuntime rtm)
public static File getPluginFolder(PluginRuntime runtime)
public static IPluginFileHelper createFacade(PluginRuntime runtime)
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.