|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<java.lang.Object,java.lang.Object>
java.util.Properties
org.pentaho.reporting.libraries.base.config.DefaultConfiguration
public class DefaultConfiguration
Default configuration.
| Constructor Summary | |
|---|---|
DefaultConfiguration()
Creates an empty property list with no default values. |
|
| Method Summary | |
|---|---|
java.util.Iterator |
findPropertyKeys(java.lang.String prefix)
Searches all property keys that start with a given prefix. |
java.util.Enumeration |
getConfigProperties()
Returns the configuration properties. |
java.lang.String |
getConfigProperty(java.lang.String key)
Returns the configuration property with the specified key. |
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). |
void |
setConfigProperty(java.lang.String key,
java.lang.String value)
Sets the value of a configuration property. |
| Methods inherited from class java.util.Properties |
|---|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
| Methods inherited from class java.util.Hashtable |
|---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.pentaho.reporting.libraries.base.config.Configuration |
|---|
clone |
| Constructor Detail |
|---|
public DefaultConfiguration()
| Method Detail |
|---|
public java.lang.String getConfigProperty(java.lang.String key)
getConfigProperty in interface Configurationkey - the property key.
public java.lang.String getConfigProperty(java.lang.String key,
java.lang.String defaultValue)
getConfigProperty in interface Configurationkey - the property key.defaultValue - the default value.
public java.util.Iterator findPropertyKeys(java.lang.String prefix)
findPropertyKeys in interface ConfigurationfindPropertyKeys in interface ModifiableConfigurationprefix - the prefix that all selected property keys should share
public java.util.Enumeration getConfigProperties()
ModifiableConfiguration
getConfigProperties in interface ConfigurationgetConfigProperties in interface ModifiableConfiguration
public void setConfigProperty(java.lang.String key,
java.lang.String value)
setConfigProperty in interface ModifiableConfigurationkey - the property key.value - the property value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||