|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IPropsContainer
A class can implement IPropsContainer when it wants to implement a properties storage mechanism.
| Method Summary | |
|---|---|
void |
copy(IPropsContainer ipc)
copy the properties in the current container to another container |
java.util.Enumeration |
enumerateProps()
list the properties in the current container |
java.lang.Object |
getProperty(java.lang.String key)
Returns a reference to a named object. |
boolean |
removeProperty(java.lang.String key)
Removes a named object from the container. |
void |
setProperty(java.lang.String key,
java.lang.Object value)
Adds or changes a named object to the one specified. |
| Method Detail |
|---|
java.lang.Object getProperty(java.lang.String key)
key - the name of the object to retrieve.
boolean removeProperty(java.lang.String key)
key - the name of the object to remove.
void setProperty(java.lang.String key,
java.lang.Object value)
key - the name of the object to add or change.value - a reference to the new object.void copy(IPropsContainer ipc)
ipc - the container to be copied into.java.util.Enumeration enumerateProps()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||