getMediaObject

format

public MediaObject getMediaObject( long key ) throws Exception

description

Retrieves the MediaObject with the specified key.

parameters

key - the index key of the MediaObject you wish to retrieve

returns

the requested MediaObject

throws

The getMediaObject() method throws an Exception if the retrieval fails.