|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.petals.tools.webadmin.util.ConfigHelper
public class ConfigHelper
Constructor Summary | |
---|---|
ConfigHelper()
|
Method Summary | |
---|---|
static org.jdom.Document |
getConfig(java.lang.String XMLfile)
Read the portal configuration Document |
boolean |
isValid(java.lang.String XMLfile)
TODO : check if XML file is following its DTD ? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigHelper()
Method Detail |
---|
public static org.jdom.Document getConfig(java.lang.String XMLfile) throws java.lang.Exception
ConfigHelperException
- if configuration file was not found
org.jdom.JDOMException
- if an error occured while parsing the configuration file
java.lang.Exception
public boolean isValid(java.lang.String XMLfile)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |