|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Properties
The message properties hold arbitrary information in the form of <String,Object> pairs
Method Summary | |
---|---|
java.lang.String[] |
getNames()
getNames() |
java.lang.Object |
getProperty(java.lang.String name)
getProperty(name) |
java.lang.Object |
getProperty(java.lang.String name,
java.lang.Object defaultVal)
getProperty(name,defaultVal) |
java.lang.Object |
remove(java.lang.String name)
remove(name) |
java.lang.Object |
setProperty(java.lang.String name,
java.lang.Object value)
setProperty(name,value) |
int |
size()
size() |
Method Detail |
---|
java.lang.Object getProperty(java.lang.String name)
name
- String - name of property
java.lang.Object getProperty(java.lang.String name, java.lang.Object defaultVal)
name
- String - name of propertydefaultVal
- Object - value to return if no value found
java.lang.Object setProperty(java.lang.String name, java.lang.Object value)
name
- String - name of property to storevalue
- Object - value of property to store under specified name
java.lang.Object remove(java.lang.String name)
name
- String - name of property to remove
int size()
java.lang.String[] getNames()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |