|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.ClassLoader | +--edu.wisc.cs.stego.modules.ModuleLoader
This class is the engine which loads and instantiates plugin modules. It loads module classes on demand, and caches instances of the factory methods for future use. This interface hides the user from the uglyness of dealing with the java.lang.reflect classes needed to load and instantiate arbitrary class files.
Encoder
,
Scanner
Method Summary | |
static CodeEditor |
loadCodeEditor(java.lang.String classname,
java.lang.String[] params)
Instantiates the desired subclass of CodeEditor. |
static Encoder |
loadEncoder(java.lang.String classname,
java.lang.String[] params)
Instantiates the desired subclass of Encoder. |
static Scanner |
loadScanner(java.lang.String classname,
java.lang.String[] params)
Instantiates the desired subclass of Scanner. |
Methods inherited from class java.lang.ClassLoader |
defineClass,
defineClass,
defineClass,
definePackage,
findClass,
findLibrary,
findLoadedClass,
findResource,
findResources,
findSystemClass,
getPackage,
getPackages,
getParent,
getResource,
getResourceAsStream,
getResources,
getSystemClassLoader,
getSystemResource,
getSystemResourceAsStream,
getSystemResources,
loadClass,
loadClass,
resolveClass,
setSigners |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static Encoder loadEncoder(java.lang.String classname, java.lang.String[] params) throws java.lang.Exception
If any of these conditions are not met, this method will throw an appropriate exception.
classname
- the fully qualified name of the Encoder subclass.params
- the parameters necessary to initialize the Encoder.Encoder
public static CodeEditor loadCodeEditor(java.lang.String classname, java.lang.String[] params) throws java.lang.Exception
If any of these conditions are not met, this method will throw an appropriate exception.
classname
- the fully qualified name of the CodeEditor subclass.params
- the parameters necessary to initialize the CodeEditor.CodeEditor
public static Scanner loadScanner(java.lang.String classname, java.lang.String[] params) throws java.lang.Exception
If any of these conditions are not met, this method will throw an appropriate exception.
classname
- the fully qualified name of the Scanner subclass.params
- the parameters necessary to initialize the Encoder.Scanner
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |