|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcode.loader.ModuleLoaderFactory
public class ModuleLoaderFactory
ModuleLoaderFactory instantiates a ModuleLoader based upon the type of the module file to be loaded (currently one of .class/.txt/.xml)
This class is responsible for
| Field Summary | |
|---|---|
private static ClassModuleLoader |
classModuleLoader
|
private static TxtXMLModuleLoader |
txtXmlModuleLoader
|
| Constructor Summary | |
|---|---|
private |
ModuleLoaderFactory()
prevent instance creation. |
| Method Summary | |
|---|---|
static ModuleLoader |
createModuleLoader(java.lang.String filePath)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static ClassModuleLoader classModuleLoader
private static TxtXMLModuleLoader txtXmlModuleLoader
| Constructor Detail |
|---|
private ModuleLoaderFactory()
| Method Detail |
|---|
public static ModuleLoader createModuleLoader(java.lang.String filePath)
throws FileFormatNotSupportException
FileFormatNotSupportException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||