public class MediaObject
extends java.lang.Object
| Constructor and Description |
|---|
MediaObject() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
allKeys()
Returns all the keys as a Set.
|
java.lang.Object |
getValue(java.lang.String key)
Returns the value of the specified key.
|
void |
setValue(java.lang.String key,
java.lang.Object value)
Sets the specified value for the key.
|
public void setValue(java.lang.String key,
java.lang.Object value)
value - A non-null value for the key. Any existing value for the key is replaced by the new value.key - The name of the key to be set.public java.lang.Object getValue(java.lang.String key)
key - The name of the key whose value is to be returned.public java.util.Set<java.lang.String> allKeys()