|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.mediacore.metadata.MetadataNode
public class MetadataNode
| Constructor Summary | |
|---|---|
MetadataNode()
|
|
| Method Summary | |
|---|---|
boolean |
containsKey(String key)
Checks if the metadata contains the specified key. |
boolean |
containsNode(String key)
|
static Metadata |
fromByteArray(byte[] bytes)
Parse the array into a Metadata object. |
MetadataNode |
getNode(String key)
|
String |
getValue(String key)
Returns the value associated with the specified key as string. |
boolean |
isEmpty()
Checks if the metadata has any mapping defined. |
Set<String> |
keySet()
Returns a Set containing the strings used as keys in this metadata. |
void |
setNode(String key,
Metadata value)
|
void |
setValue(String key,
String value)
Stores a String value into this metadata, replacing any existing value for the given key. |
byte[] |
toByteArray()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MetadataNode()
| Method Detail |
|---|
public final boolean containsKey(String key)
Metadata
containsKey in interface Metadatakey - the key to be looked for
public final String getValue(String key)
Metadata
getValue in interface Metadatakey - a string key
public final void setValue(String key,
String value)
Metadata
setValue in interface Metadatakey - a stringvalue - the value to be stored.public final boolean isEmpty()
Metadata
isEmpty in interface Metadatapublic final Set<String> keySet()
Metadata
keySet in interface Metadatapublic final MetadataNode getNode(String key)
public final void setNode(String key,
Metadata value)
public final boolean containsNode(String key)
public String toString()
toString in class Objectpublic byte[] toByteArray()
toByteArray in interface Metadatapublic static Metadata fromByteArray(byte[] bytes)
bytes - the serialized representation of the Metadata object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||