public interface Configuration extends Serializable, Cloneable
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Returns a clone of the object.
|
Iterator<String> |
findPropertyKeys(String prefix)
Returns all keys with the given prefix.
|
Enumeration<String> |
getConfigProperties()
Returns the configuration properties.
|
String |
getConfigProperty(String key)
Returns the configuration property with the specified key.
|
String |
getConfigProperty(String key,
String defaultValue)
Returns the configuration property with the specified key (or the specified default value if there is no such
property).
|
String getConfigProperty(String key)
key - the property key.String getConfigProperty(String key, String defaultValue)
key - the property key.defaultValue - the default value.Iterator<String> findPropertyKeys(String prefix)
prefix - the prefixEnumeration<String> getConfigProperties()
Object clone() throws CloneNotSupportedException
CloneNotSupportedException - if cloning is not supported for some reason.Copyright © 2017 Hitachi Vantara. All rights reserved.