Interface IConfiguration
- All Known Implementing Classes:
CommonsConfigurationWrapper
,ConfigurationMemoryMap
Base interface for objects holding configuration data.
Configuration data consists of a set of key to value mappings.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearProperty
(String key) Remove a property from the configuration object.Get the collection of all property keys held by this configuration object.getProperty
(String key) Retrieve a property value.void
setProperty
(String key, Object value) Set a property value.
-
Method Details
-
clearProperty
Remove a property from the configuration object.- Parameters:
key
- the property key
-
setProperty
Set a property value.- Parameters:
key
- the property keyvalue
- the property value
-
getProperty
Retrieve a property value.- Parameters:
key
- the property key- Returns:
- the property value, null if the property does not exist
-
getAllPropertyKeys
Get the collection of all property keys held by this configuration object.- Returns:
-