public class PluginLoader
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
load(java.lang.String file)
Loads the plugin configuration file
file and registers the plugins. |
static void |
loadPlugins(Plugins plugins)
Load all plugins.
|
static void |
setClassLoadingStrategy(ClassLoadingStrategy strategy)
Changes the class loading strategy used by Soot.
|
public static boolean load(java.lang.String file)
file
and registers the plugins.file
- the plugin configuration file.true
on success.public static void loadPlugins(Plugins plugins) throws java.lang.RuntimeException
plugins
- the plugins to load.java.lang.RuntimeException
- if an error occurs during loading.public static void setClassLoadingStrategy(ClassLoadingStrategy strategy)
strategy
- The new class loading strategy to use.