Package net.ionite.docval.config
Class ConfigReader
java.lang.Object
net.ionite.docval.config.ConfigReader
Reads a configuration file, into a ConfigData object.
- Author:
- Ionite
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRead the configuration file set in the constructor.
-
Constructor Details
-
ConfigReader
Constructor for the configuration file reader- Parameters:
fileName
- The file to read the configuration from. Must be an XML file that is valid for the configuration xsd.
-
-
Method Details
-
readConfig
Read the configuration file set in the constructor.- Returns:
- ConfigData The configuration as set in the config file.
- Throws:
ConfigurationError
- if the configuration data could not be parsed.
-