|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jaxodraw.plugin.JaxoPluginLoader
public class JaxoPluginLoader
Loads JaxoDraw plugins.
Constructor Summary | |
---|---|
JaxoPluginLoader()
|
Method Summary | |
---|---|
static File |
getPluginJar(JaxoPlugin plugin,
String pluginDir)
Tries to find the jar source file for a JaxoPlugin in the given directory. |
List<JaxoPlugin> |
loadPlugins(String pluginDirName)
Load plugins. |
List<JaxoPlugin> |
loadPluginsFromJar(String filename)
Loads plugins from a jar file. |
List<JaxoPlugin> |
reValidate(String pluginDirName)
Invalidates the class loader responsible for plugin loading and re-scans the plugin dir, loading any found classes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JaxoPluginLoader()
Method Detail |
---|
public List<JaxoPlugin> loadPlugins(String pluginDirName)
pluginDirName
- the directory to scan for plugins.
public List<JaxoPlugin> reValidate(String pluginDirName)
pluginDirName
- the directory to scan for plugins.
loadPlugins(java.lang.String)
public List<JaxoPlugin> loadPluginsFromJar(String filename)
filename
- absolute path to a jar file that contains a JaxoPlugin.
public static File getPluginJar(JaxoPlugin plugin, String pluginDir)
plugin
- the plugin whose source jar to find.pluginDir
- the directory where jars are listed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |