net.sourceforge.openstego.util
Class PluginManager

java.lang.Object
  extended by net.sourceforge.openstego.util.PluginManager

public class PluginManager
extends java.lang.Object

Utility class to load and manage the available stego plugins


Method Summary
static OpenStegoPlugin getDefaultPlugin()
          Method to get the default plugin
static OpenStegoPlugin getPluginByName(java.lang.String name)
          Method to get the plugin object based on the name of the plugin
static java.util.List getPluginNames()
          Method to get the list of names of the loaded plugins
static java.util.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
 

Method Detail

loadPlugins

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

Throws:
OpenStegoException

getPluginNames

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

Returns:
List of names of the loaded plugins

getPlugins

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

Returns:
List of the loaded plugins

getPluginByName

public static OpenStegoPlugin getPluginByName(java.lang.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-2009 Samir Vaidya. All Rights Reserved.