setProperty

format

boolean setProperty(String key, Serializable value)

description

Sets the given property for the MediaObject.

parameters

key - the unique key of the property

 

value - the new contents of the property

returns

TRUE - if the assignment was successful

 

FALSE - if the assignment failed

throws

The setProperty() method does not throw any exceptions.