|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.agent.conf.A3CML
Defines XML syntactic element for A3CML configuration file.
Constructor Summary | |
A3CML()
|
Method Summary | |
static A3CMLConfig |
getConfig(java.io.Reader reader)
Gets configuration of agent servers from a XML file. |
static A3CMLConfig |
getXMLConfig()
Gets an agent server configuration from a XML file. |
static A3CMLConfig |
getXMLConfig(java.lang.String path)
|
static A3CMLConfig |
getXMLConfig(java.lang.String cfgDir,
java.lang.String cfgFileName)
Gets an agent server configuration from a XML file. |
static void |
toXML(A3CMLConfig config,
java.io.PrintWriter out)
|
static void |
toXML(A3CMLConfig config,
java.lang.String cfgDir,
java.lang.String xmlFileName)
write a configuration in an A3CML file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public A3CML()
Method Detail |
public static final void toXML(A3CMLConfig config, java.lang.String cfgDir, java.lang.String xmlFileName) throws java.lang.Exception
java.lang.Exception
public static final void toXML(A3CMLConfig config, java.io.PrintWriter out) throws java.lang.Exception
java.lang.Exception
public static A3CMLConfig getXMLConfig() throws java.lang.Exception
A3CMLConfig
object.
A3CMLConfig
object if file exists and is
correct, null otherwise.
java.lang.Exception
- unspecialized exception when reading and parsing the configuration filepublic static A3CMLConfig getXMLConfig(java.lang.String cfgDir, java.lang.String cfgFileName) throws java.lang.Exception
A3CMLConfig
object.
cfgDir
- directory of XML file
A3CMLConfig
object if file exists and is
correct, null otherwise.
java.lang.Exception
- unspecialized exception when reading and parsing the configuration filepublic static A3CMLConfig getXMLConfig(java.lang.String path) throws java.lang.Exception
java.lang.Exception
public static A3CMLConfig getConfig(java.io.Reader reader) throws java.lang.Exception
Config
object.
reader
- Reader
Config
object if file exists and is
correct, null otherwise.
java.lang.Exception
- unspecialized exception when reading and parsing the configuration file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |