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 PropertyContainer
public void setProperty(String key, Object value)
setProperty
in interface PropertyContainer
public void removeAllProperties()
public Iterator properties()
public Iterator propertyNames()
propertyNames
in interface PropertyContainer
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.