public abstract class AbstractModuleList extends java.lang.Object implements ModuleListing
Modifier and Type | Field and Description |
---|---|
protected java.util.LinkedHashMap |
modules |
protected java.io.File |
xmlfile |
Constructor and Description |
---|
AbstractModuleList() |
Modifier and Type | Method and Description |
---|---|
void |
addModuleClass(java.lang.Class x) |
void |
addModuleListListener(ModuleListListener l) |
void |
fireModuleAdded(java.lang.String modname) |
void |
fireModuleRemoved(java.lang.String modname) |
java.lang.Class |
getModule(java.lang.String modname) |
java.lang.String |
getModulePath() |
void |
removeAllModules() |
void |
removeModuleClass(java.lang.Class x) |
void |
removeModuleListListener(ModuleListListener l) |
void |
setModulePath(java.lang.String path) |
void |
transferListing(ModuleListing that) |
void |
update() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addModule, getAuthor, getCopyRight, getDescription, getLastModified, getModuleNames, getShortName, getVersion, removeModule, setAuthor, setCopyRight, setDescription, setLastModified, setShortName, setVersion
protected java.util.LinkedHashMap modules
protected java.io.File xmlfile
public void addModuleListListener(ModuleListListener l)
public void removeModuleListListener(ModuleListListener l)
public void fireModuleAdded(java.lang.String modname)
public void fireModuleRemoved(java.lang.String modname)
public void addModuleClass(java.lang.Class x)
addModuleClass
in interface ModuleListing
public void removeModuleClass(java.lang.Class x)
removeModuleClass
in interface ModuleListing
public void setModulePath(java.lang.String path)
setModulePath
in interface ModuleListing
public java.lang.String getModulePath()
getModulePath
in interface ModuleListing
public void removeAllModules()
public void transferListing(ModuleListing that)
transferListing
in interface ModuleListing
public java.lang.Class getModule(java.lang.String modname)
public void update()
update
in interface ModuleListing
Copyright © 2011, 2013. Daniel P. Dougherty