|
QuickServer v1.4.5 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.quickserver.util.xmlreader.ConfigReader
This class reads the xml configuration and gives QuickServerConfig object.
Constructor Summary | |
ConfigReader()
|
Method Summary | |
static void |
checkXMLVersion(java.io.File file)
Checks the passes xml file and if old version is found it converts it to new one. |
static java.io.File |
makeAbsoluteToConfig(java.lang.String fileName,
QuickServerConfig config)
Make the file passed absolute, relative to the location of configuration file that loaded QuickServerConfig object passed. |
static QuickServerConfig |
read(java.io.File input)
Parses XML config of QuickServer of version 1.3 and above |
static QuickServerConfig |
read(java.lang.String fileName)
Parses XML config of QuickServer of version 1.3 and above |
static QuickServerConfig |
readXMLv1_2(java.io.File input)
Parses XML config of QuickServer of version 1.2 only. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConfigReader()
Method Detail |
public static QuickServerConfig read(java.lang.String fileName) throws java.lang.Exception
java.lang.Exception
public static QuickServerConfig read(java.io.File input) throws java.lang.Exception
java.lang.Exception
public static void checkXMLVersion(java.io.File file) throws java.lang.Exception
.bak
java.lang.Exception
public static QuickServerConfig readXMLv1_2(java.io.File input) throws java.lang.Exception
java.lang.Exception
public static java.io.File makeAbsoluteToConfig(java.lang.String fileName, QuickServerConfig config)
|
QuickServer v1.4.5 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |