QuickServer
v1.4.7

org.quickserver.util.xmlreader
Class ConfigReader

java.lang.Object
  extended byorg.quickserver.util.xmlreader.ConfigReader

public class ConfigReader
extends java.lang.Object

This class reads the xml configuration and gives QuickServerConfig object.

Since:
1.3
Author:
Akshathkumar Shetty

Constructor Summary
ConfigReader()
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigReader

public ConfigReader()
Method Detail

read

public static QuickServerConfig read(java.lang.String fileName)
                              throws java.lang.Exception
Parses XML config of QuickServer of version 1.3 and above

Throws:
java.lang.Exception
Since:
1.3

read

public static QuickServerConfig read(java.io.File input)
                              throws java.lang.Exception
Parses XML config of QuickServer of version 1.3 and above

Throws:
java.lang.Exception
Since:
1.4

makeAbsoluteToConfig

public 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.

Since:
1.4

QuickServer
v1.4.7

Copyright © 2003-2006 QuickServer.org