|
BioLegato 0.5.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biolegato.core.plugins.PluginLoader
public class PluginLoader
This class is used to handle plugins.
Constructor Summary | |
---|---|
PluginLoader()
|
Method Summary | |
---|---|
static PluginWrapper |
getPlugin(java.lang.String string)
Retrieves a plugin by name. |
static java.util.Map<java.lang.String,PluginWrapper> |
getPluginHash()
Returns a list with all of the plugins loaded by BioLegato. |
static java.util.Collection<PluginWrapper> |
getPlugins(java.lang.Class<?> type)
Returns a list with all of the plugins loaded by BioLegato that are instances of the class type indicated. |
static void |
loadPlugins(java.lang.String directory)
Loads an the plugins into BioLegato. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PluginLoader()
Method Detail |
---|
public static java.util.Map<java.lang.String,PluginWrapper> getPluginHash()
public static java.util.Collection<PluginWrapper> getPlugins(java.lang.Class<?> type)
type
- the plugin type to find
public static PluginWrapper getPlugin(java.lang.String string)
string
- the plugin to retrieve
public static void loadPlugins(java.lang.String directory)
directory
- the directory to load the plugins from
|
BioLegato 0.5.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |