public class OrderedPropertiesConfiguration extends Object implements Configuration
interfaceLevelLogger| Constructor and Description |
|---|
OrderedPropertiesConfiguration(ModuleModel moduleModel) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getInternalProperty(String key) |
Map<String,String> |
getProperties() |
String |
getProperty(String key)
Gets a property from the configuration.
|
void |
refresh() |
String |
remove(String key) |
void |
setProperties(Properties properties)
Deprecated.
|
void |
setProperty(String key,
String value) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsKey, convert, getBoolean, getBoolean, getBoolean, getInt, getInt, getInteger, getProperty, getString, getString, toBooleanObjectpublic OrderedPropertiesConfiguration(ModuleModel moduleModel)
public void refresh()
public String getProperty(String key)
ConfigurationConfiguration interface the other get methods (that
return specific data types) will internally make use of this method. On
this level variable substitution is not yet performed. The returned
object is an internal representation of the property value for the passed
in key. It is owned by the Configuration object. So a caller
should not modify this object. It cannot be guaranteed that this object
will stay constant over time (i.e. further update operations on the
configuration may change its internal state).getProperty in interface Configurationkey - property to retrievepublic Object getInternalProperty(String key)
getInternalProperty in interface Configuration@Deprecated public void setProperties(Properties properties)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.