|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.util.property.PropertyStore
public class PropertyStore
A simple generics based property store.
Constructor Summary | |
---|---|
PropertyStore()
Creates a new configuration map. |
Method Summary | ||
---|---|---|
boolean |
contains(java.lang.String propertyName)
Returns true if the the property was set. |
|
|
get(java.lang.String propertyName)
Returns the property by name. |
|
|
set(java.lang.String propertyName,
T propertyValue)
Sets a property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyStore()
Method Detail |
---|
public boolean contains(java.lang.String propertyName)
propertyName
- name of the property
public <T> T set(java.lang.String propertyName, T propertyValue)
propertyName
- name of the property to setpropertyValue
- value of the property to set
public <T> T get(java.lang.String propertyName)
propertyName
- name of the property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |