Package com.openstego.desktop.util
Class PluginManager
- java.lang.Object
-
- com.openstego.desktop.util.PluginManager
-
public class PluginManager extends Object
Utility class to load and manage the available stego plugins
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<OpenStegoPlugin<?>>
getDataHidingPlugins()
Method to get the list of the data hiding pluginsstatic OpenStegoPlugin<?>
getPluginByName(String name)
Method to get the plugin object based on the name of the pluginstatic List<String>
getPluginNames()
Method to get the list of names of the loaded pluginsstatic List<OpenStegoPlugin<?>>
getPlugins()
Method to get the list of the loaded pluginsstatic List<OpenStegoPlugin<?>>
getWatermarkingPlugins()
Method to get the list of the watermarking pluginsstatic void
loadPlugins()
Method to load the stego plugin classes
-
-
-
Method Detail
-
loadPlugins
public static void loadPlugins() throws OpenStegoException
Method to load the stego plugin classes- Throws:
OpenStegoException
- Processing issues
-
getPluginNames
public static List<String> getPluginNames()
Method to get the list of names of the loaded plugins- Returns:
- List of names of the loaded plugins
-
getPlugins
public static List<OpenStegoPlugin<?>> getPlugins()
Method to get the list of the loaded plugins- Returns:
- List of the loaded plugins
-
getDataHidingPlugins
public static List<OpenStegoPlugin<?>> getDataHidingPlugins()
Method to get the list of the data hiding plugins- Returns:
- List of the data hiding plugins
-
getWatermarkingPlugins
public static List<OpenStegoPlugin<?>> getWatermarkingPlugins()
Method to get the list of the watermarking plugins- Returns:
- List of the watermarking plugins
-
getPluginByName
public static OpenStegoPlugin<?> getPluginByName(String name)
Method to get the plugin object based on the name of the plugin- Parameters:
name
- Name of the plugin- Returns:
- Plugin object
-
-