|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.pow2.resources.PropertyContainerImpl
Property container class.
| Field Summary | |
protected org.apache.log4j.Category |
cat
Log4J category. |
protected Properties |
properties
properties table |
| Constructor Summary | |
PropertyContainerImpl()
Constructor for the PropertyContainerImpl object |
|
| Method Summary | |
void |
addProperty(Object value,
String token)
Add a property associated with a token name. |
Object |
getObject(String token)
Retrieve a value by a particular token. |
String |
getProperty(String token)
Retrieve a value by a particular token. |
String[] |
getPropertyKeys()
Retrieve all property keys currently in use. |
void |
removeProperty(String token)
Remove a value associated with a particular token. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected org.apache.log4j.Category cat
protected Properties properties
| Constructor Detail |
public PropertyContainerImpl()
| Method Detail |
public void addProperty(Object value,
String token)
addProperty in interface PropertyContainervalue - is an object that cannot be nulltoken - is a key that can be used to retrieve the valuepublic String getProperty(String token)
getProperty in interface PropertyContainertoken - is a key that can be used to retrieve the value
public Object getObject(String token)
getObject in interface PropertyContainertoken - is a key that can be used to retrieve the value
public String[] getPropertyKeys()
getPropertyKeys in interface PropertyContainerpublic void removeProperty(String token)
removeProperty in interface PropertyContainertoken - is a key associated with a value that was added
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||