net.sourceforge.openstego.util
Class PluginManager

java.lang.Object
  extended bynet.sourceforge.openstego.util.PluginManager

public class PluginManager
extends Object

Utility class to load and manage the available stego plugins


Constructor Summary
PluginManager()
           
 
Method Summary
static OpenStegoPlugin getDefaultPlugin()
          Method to get the default plugin
static OpenStegoPlugin getPluginByName(String name)
          Method to get the plugin object based on the name of the plugin
static List getPluginNames()
          Method to get the list of names of the loaded plugins
static List getPlugins()
          Method to get the list of the loaded plugins
static void loadPlugins()
          Method to load the stego plugin classes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginManager

public PluginManager()
Method Detail

loadPlugins

public static void loadPlugins()
                        throws OpenStegoException
Method to load the stego plugin classes

Throws:
OpenStegoException

getPluginNames

public static List getPluginNames()
Method to get the list of names of the loaded plugins

Returns:
List of names of the loaded plugins

getPlugins

public static List getPlugins()
Method to get the list of the loaded plugins

Returns:
List of the loaded 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

getDefaultPlugin

public static OpenStegoPlugin getDefaultPlugin()
Method to get the default plugin

Returns:
Default plugin object


Copyright © 2007-2008 Samir Vaidya. All Rights Reserved.