org.base.apps.util.config
Class EnvConfig
java.lang.Object
org.base.apps.util.config.ResourceManager
org.base.apps.util.config.EnvConfig
- All Implemented Interfaces:
- Named
public class EnvConfig
- extends ResourceManager
The root parent for all ResourceManagers and provides direct access
to the "env" configuration bundle.
- Author:
- Kevan Simpson
| Methods inherited from class org.base.apps.util.config.ResourceManager |
deriveValues, getBoolean, getConditions, getEnv, getEnvConfig, getInteger, getName, getParent, getProps, getRawValue, getResourceManager, getResourceManager, getResourceManager, loadBundles, removeProperty, replaceVars, setConditionalProperty, setConditions, setName, setParent, setProperty, setProps, toString, updateConditionalProperties |
EnvConfig
EnvConfig()
- Package-level constructor, only instantiated by
ResourceManager.
getString
public String getString(CharSequence property,
Object... tkns)
- Description copied from class:
ResourceManager
- Reads a property from the configuration, optionally inserting the
given tokens (akin to
MessageFormat.format(String, Object...)).
- Overrides:
getString in class ResourceManager
- Parameters:
property - The property to read.tkns - The optional replacement tokens.
- Returns:
- The property value.
Copyright 2011, Blue Agate Software Entity (BASE)