|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.util.ReportConfiguration
org.jfree.report.util.SystemPropertyConfiguration
A property configuration based on system properties.
Field Summary |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SystemPropertyConfiguration()
PropertyFileReportConfiguration
.
Method Detail |
public void setConfigProperty(java.lang.String key, java.lang.String value)
setConfigProperty
in class ReportConfiguration
key
- the property key.value
- the property value.public java.lang.String getConfigProperty(java.lang.String key, java.lang.String defaultValue)
If the property is not defined in this configuration, the code will lookup the property in the parent configuration.
getConfigProperty
in interface org.jfree.util.Configuration
getConfigProperty
in class ReportConfiguration
key
- the property key.defaultValue
- the default value.
public boolean isLocallyDefined(java.lang.String key)
isLocallyDefined
in class ReportConfiguration
key
- the key that should be checked.
ReportConfiguration.isLocallyDefined(java.lang.String)
public java.util.Enumeration getConfigProperties()
getConfigProperties
in class ReportConfiguration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |