public class BasicPropertyContainer extends Object implements PropertyContainer
| Constructor and Description |
|---|
BasicPropertyContainer()
A property container with no defaults.
|
BasicPropertyContainer(PropertyContainer defaults)
A property container with no defaults.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getProperty(String key)
Return the property corresponding to
the given key, or null if no such property
exists.
|
Iterator |
properties() |
Iterator |
propertyNames()
Return an iteration of the names of the properties
|
void |
removeAllProperties() |
void |
setProperty(String key,
Object value)
Set the property corresponding to
the given key.
|
public BasicPropertyContainer()
public BasicPropertyContainer(PropertyContainer defaults)
public Object getProperty(String key)
getProperty in interface PropertyContainerpublic void setProperty(String key, Object value)
setProperty in interface PropertyContainerpublic void removeAllProperties()
public Iterator properties()
public Iterator propertyNames()
propertyNames in interface PropertyContainerCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.