|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PropertyAccess
interface provides the API for
getting and setting properties.
Method Summary | |
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
Retrieves the value associated with a property. |
java.lang.Object |
removeProperty(java.lang.String key)
Removes the property. |
java.lang.Object |
setProperty(java.lang.String key,
java.lang.String value)
Sets the value for a property. |
Method Detail |
public java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
key
- the property key for which a value is desired.defaultValue
- the value to return if no value currently
exists.
public java.lang.Object setProperty(java.lang.String key, java.lang.String value)
key
- the property key to setvalue
- the string value to set
public java.lang.Object removeProperty(java.lang.String key)
key
- the property key to remove
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.