Package org.eclipse.birt.core.config
Class FileConfigVarManager
java.lang.Object
org.eclipse.birt.core.config.SystemConfigVarManager
org.eclipse.birt.core.config.FileConfigVarManager
Defines a configuration manager class that loads configuration variables from
a file. In case the file does not contain a specified config var, the system
config var manager is used as backup.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
is the configuration file loadedprotected String
configuration file nameprotected Properties
Configuration variables retrieved from file -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.birt.core.config.SystemConfigVarManager
getConfigBoolean, getConfigInteger, getConfigInteger, getConfigVar
-
Field Details
-
fileConfigVars
Configuration variables retrieved from file -
configFileName
configuration file name -
configFileLoaded
protected boolean configFileLoadedis the configuration file loaded
-
-
Constructor Details
-
FileConfigVarManager
public FileConfigVarManager()Constructor -
FileConfigVarManager
- Parameters:
configFileName
- the configuration file name
-
-
Method Details
-
getConfigVar
- Overrides:
getConfigVar
in classSystemConfigVarManager
- Parameters:
key
- the configuration variable name- Returns:
- The value for the configuration variable. null if it is not set.
-