|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.libraries.base.config.HierarchicalConfiguration
org.pentaho.reporting.libraries.base.config.SystemPropertyConfiguration
public class SystemPropertyConfiguration
A property configuration based on system properties.
| Constructor Summary | |
|---|---|
SystemPropertyConfiguration()
Creates a report configuration that includes all the system properties (whether they are related to reports or not). |
|
| Method Summary | |
|---|---|
java.util.Enumeration |
getConfigProperties()
Returns all defined configuration properties for the report. |
java.lang.String |
getConfigProperty(java.lang.String key,
java.lang.String defaultValue)
Returns the configuration property with the specified key (or the specified default value if there is no such property). |
boolean |
isLocallyDefined(java.lang.String key)
Checks, whether the given key is locally defined in the system properties. |
void |
setConfigProperty(java.lang.String key,
java.lang.String value)
Sets a configuration property. |
| Methods inherited from class org.pentaho.reporting.libraries.base.config.HierarchicalConfiguration |
|---|
clone, findPropertyKeys, getConfigProperty, insertConfiguration |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystemPropertyConfiguration()
PropertyFileConfiguration.
| Method Detail |
|---|
public void setConfigProperty(java.lang.String key,
java.lang.String value)
setConfigProperty in interface ModifiableConfigurationsetConfigProperty in class HierarchicalConfigurationkey - the property key.value - the property value.
public java.lang.String getConfigProperty(java.lang.String key,
java.lang.String defaultValue)
getConfigProperty in interface ConfigurationgetConfigProperty in class HierarchicalConfigurationkey - the property key.defaultValue - the default value.
public boolean isLocallyDefined(java.lang.String key)
isLocallyDefined in class HierarchicalConfigurationkey - the key that should be checked.
HierarchicalConfiguration.isLocallyDefined(String)public java.util.Enumeration getConfigProperties()
getConfigProperties in interface ConfigurationgetConfigProperties in interface ModifiableConfigurationgetConfigProperties in class HierarchicalConfiguration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||