|
|||||||||
| 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(String propertyName)
Returns true if the the property was set. |
|
|
get(String propertyName)
Returns the property by name. |
|
|
set(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(String propertyName)
propertyName - name of the property
public <T> T set(String propertyName,
T propertyValue)
propertyName - name of the property to setpropertyValue - value of the property to set
public <T> T get(String propertyName)
propertyName - name of the property
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||