Save This Page
Home » jcommon-1.0.13 » org.jfree.base.config » [javadoc | source]
org.jfree.base.config
public class: SystemPropertyConfiguration [javadoc | source]
java.lang.Object
   org.jfree.base.config.HierarchicalConfiguration
      org.jfree.base.config.SystemPropertyConfiguration

All Implemented Interfaces:
    PublicCloneable, ModifiableConfiguration

A property configuration based on system properties.
Constructor:
 public SystemPropertyConfiguration() 
Method from org.jfree.base.config.SystemPropertyConfiguration Summary:
getConfigProperties,   getConfigProperty,   isLocallyDefined,   setConfigProperty
Methods from org.jfree.base.config.HierarchicalConfiguration:
clone,   configurationLoaded,   findPropertyKeys,   getConfigProperties,   getConfigProperty,   getConfigProperty,   getConfiguration,   getParentConfig,   insertConfiguration,   isLocallyDefined,   isParentSaved,   setConfigProperty,   setParentConfig
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.base.config.SystemPropertyConfiguration Detail:
 public Enumeration getConfigProperties() 
    Returns all defined configuration properties for the report. The enumeration contains all keys of the changed properties, properties set from files or the system properties are not included.
 public String getConfigProperty(String key,
    String defaultValue) 
    Returns the configuration property with the specified key (or the specified default value if there is no such property).

    If the property is not defined in this configuration, the code will lookup the property in the parent configuration.

 public boolean isLocallyDefined(String key) 
    Checks, whether the given key is locally defined in the system properties.
 public  void setConfigProperty(String key,
    String value) 
    Sets a configuration property.