FileDocCategorySizeDatePackage
MediaHandler.javaAPI DocJMF 2.1.1e1138Mon May 12 12:20:36 BST 2003javax.media

MediaHandler

public interface MediaHandler
MediaHandler is the base interface for objects that read and manage media content delivered from a DataSource.

There are currently three supported types of MediaHandler/code>: Player, MediaProxy and DataSink.

Fields Summary
Constructors Summary
Methods Summary
public voidsetSource(javax.media.protocol.DataSource source)
Sets the media source this MediaHandler should use to obtain content.

param
source The DataSource used by this MediaHandler.
exception
IOException Thrown if there is an error using the DataSource
exception
IncompatibleSourceException Thrown if this MediaHandler cannot make use of the DataSource.