|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.datacrow.core.modules.ModuleJar
public class ModuleJar
A module jar is used to physically store the module. A module jar contains a small icon, a large icon and the XML module definition.
Constructor Summary | |
---|---|
ModuleJar(java.lang.String filename)
Initializes the XML module. |
|
ModuleJar(XmlModule module)
Initializes the XML module. |
Method Summary | |
---|---|
boolean |
delete()
Deletes the jar file from the disk (cannot be undone). |
XmlModule |
getModule()
Retrieves the XML module definition. |
void |
load()
Loads the module jar's content into memory. |
void |
save()
Physically stores the module jar to disk. |
void |
setFilename(java.lang.String filename)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModuleJar(java.lang.String filename)
filename
- public ModuleJar(XmlModule module)
module
- Method Detail |
---|
public void setFilename(java.lang.String filename)
public XmlModule getModule()
public void save() throws ModuleJarException
ModuleJarException
filename
public boolean delete()
public void load() throws ModuleUpgradeException, ModuleJarException, InvalidModuleXmlException
ModuleUpgradeException
ModuleJarException
InvalidModuleXmlException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |