public final class JaxoPluginInfo
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
void |
addPlugin(JaxoPlugin plugin) |
Add a plugin to the list of plugins.
|
java.lang.String |
availablePlugins() |
Returns the list of available plugins as a String.
|
java.util.Set<java.lang.String> |
getAvailablePlugins() |
Returns the plugins that are available at runtime.
|
java.util.List<java.lang.Object> |
getExportFormats() |
Installed export formats.
|
JaxoImportPlugin |
getImportForExtension(java.lang.String ext) |
Return an import plugin that is capable of importing a given format.
|
java.util.List<JaxoImportPlugin> |
getImportFormats() |
Installed import formats.
|
static JaxoPluginInfo |
getPluginInfo() |
The only method to access the JaxoPluginInfo object.
|
void |
removePlugin(JaxoPlugin plugin) |
Removes the given JaxoPlugin from the list of plugins.
|
void |
reValidate() |
Re-scans the plugin dir, loading any found plugins.
|
public static JaxoPluginInfo getPluginInfo()
public void reValidate()
public java.lang.String availablePlugins()
public java.util.Set<java.lang.String> getAvailablePlugins()
public java.util.List<java.lang.Object> getExportFormats()
public java.util.List<JaxoImportPlugin> getImportFormats()
public void addPlugin(JaxoPlugin plugin)
JaxoPluginLoader
.plugin
- the plugin to add. If this is not and instance of either
JaxoExportPlugin
or JaxoImportPlugin
, does nothing.public void removePlugin(JaxoPlugin plugin)
plugin
- the plugin to remove.public JaxoImportPlugin getImportForExtension(java.lang.String ext)
ext
- the file extension.Licensed under GPL. For more information, see http://jaxodraw.sourceforge.net/license.html or the LICENSE file in the jaxodraw distribution.