| java.lang.Object org.jfree.base.config.HierarchicalConfiguration org.jfree.base.config.SystemPropertyConfiguration
SystemPropertyConfiguration | public class SystemPropertyConfiguration extends HierarchicalConfiguration (Code) | | A property configuration based on system properties.
author: Thomas Morgner |
Constructor Summary | |
public | SystemPropertyConfiguration() Creates a report configuration that includes all the system properties (whether they are
related to reports or not). |
SystemPropertyConfiguration | public SystemPropertyConfiguration()(Code) | | Creates a report configuration that includes all the system properties (whether they are
related to reports or not). The parent configuration is a
PropertyFileConfiguration .
|
getConfigProperties | public Enumeration getConfigProperties()(Code) | | 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.
all defined configuration properties for the report. |
getConfigProperty | public String getConfigProperty(String key, String defaultValue)(Code) | | 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.
Parameters: key - the property key. Parameters: defaultValue - the default value. the property value. |
setConfigProperty | public void setConfigProperty(String key, String value)(Code) | | Sets a configuration property.
Parameters: key - the property key. Parameters: value - the property value. |
|
|