public class OrderedPropertiesConfiguration extends Object implements Configuration
interfaceLevelLogger| 构造器和说明 |
|---|
OrderedPropertiesConfiguration(ModuleModel moduleModel) |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
已过时。
|
void |
setProperty(String key,
String value) |
containsKey, 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 在接口中 Configurationkey - property to retrievepublic Object getInternalProperty(String key)
getInternalProperty 在接口中 Configuration@Deprecated public void setProperties(Properties properties)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.