|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.util.DefaultPropertyAccess
A very simple in-memory property access.
Field Summary | |
protected java.util.HashMap |
_map
|
Constructor Summary | |
DefaultPropertyAccess()
|
Method Summary | |
protected java.lang.Object |
get(java.lang.Object key)
|
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
Retrieves the value associated with a property. |
protected java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
protected java.lang.Object |
remove(java.lang.String key)
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.HashMap _map
Constructor Detail |
public DefaultPropertyAccess()
Method Detail |
protected final java.lang.Object get(java.lang.Object key)
protected final java.lang.Object put(java.lang.Object key, java.lang.Object value)
protected final java.lang.Object remove(java.lang.String key)
public java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
PropertyAccess
getProperty
in interface PropertyAccess
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)
PropertyAccess
setProperty
in interface PropertyAccess
key
- the property key to setvalue
- the string value to set
public java.lang.Object removeProperty(java.lang.String key)
PropertyAccess
removeProperty
in interface PropertyAccess
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.