public class ConfigurationWrapper extends Object
Modifier and Type | Method and Description |
---|---|
static org.apache.commons.configuration.AbstractConfiguration |
getConfig()
Gets the configuration object
|
static void |
initConfiguration(String configDir,
String fileName)
Initializes the configuration object
|
public static void initConfiguration(String configDir, String fileName) throws FileNotFoundException, org.apache.commons.configuration.ConfigurationException
configDir
- The configuration directory containing the configuration filefileName
- The name of the configuration fileFileNotFoundException
- If the file does not existorg.apache.commons.configuration.ConfigurationException
- if the configuration file contains errorspublic static org.apache.commons.configuration.AbstractConfiguration getConfig()
This documentation was released into the public domain.