org.base.apps.util.config
Class EnvConfig

java.lang.Object
  extended by org.base.apps.util.config.ResourceManager
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.base.apps.util.config.ResourceManager
ResourceManager.BaseProperties
 
Field Summary
 
Fields inherited from class org.base.apps.util.config.ResourceManager
CONDITIONS, REGEX
 
Constructor Summary
EnvConfig()
          Package-level constructor, only instantiated by ResourceManager.
 
Method Summary
 String getString(CharSequence property, Object... tkns)
          Reads a property from the configuration, optionally inserting the given tokens (akin to MessageFormat.format(String, Object...)).
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnvConfig

EnvConfig()
Package-level constructor, only instantiated by ResourceManager.

Method Detail

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.

Please visit Base Apps, hosted on Sourceforge.net.

Copyright 2011, Blue Agate Software Entity (BASE)