getMetadata (String, String)

format

Metadata getMetadata(String key, String value)

description

Retrieves the specified metadata item, if it exists.

parameters

key - the key of the metadata you wish to retrieve

 

value - the text value of the metadata you wish to retrieve

returns

the requested metadata, if it exists; otherwise, the method returns NULL.

throws

The getMetadata() method does not throw any exceptions.