|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ntnu.ecosim.basicfunctionality.XMLConfigFile
public class XMLConfigFile
A reader and writer of the xml configuration file
Constructor Summary | |
---|---|
XMLConfigFile()
The constructor |
Method Summary | |
---|---|
long |
getLastModified(java.lang.String moduleName)
Method used to check whether the file is changed during program execution. |
org.w3c.dom.Document |
readConfFile(java.lang.String moduleName)
Method to read from configuration file |
void |
setConfigPath(java.lang.String path)
Setting where the config is to be read from |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLConfigFile()
Method Detail |
---|
public org.w3c.dom.Document readConfFile(java.lang.String moduleName)
moduleName
- name of module
public long getLastModified(java.lang.String moduleName)
moduleName
- name of the module
public void setConfigPath(java.lang.String path)
path
- File path of configuration file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |