All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface javax.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 two supported types of MediaHandler/code>: Player and MediaProxy.

Version:
1.4, 97/08/23.
See Also:
Player, MediaProxy

Method Index

 o setSource(DataSource)
Set the media source the MediaHandler should use to obtain content.

Methods

 o setSource
 public abstract void setSource(DataSource source) throws IOException, IncompatibleSourceException
Set the media source the MediaHandler should use to obtain content.

Parameters:
source - The DataSource used by this MediaHandler.
Throws: IOException
Thrown if there is an error using the DataSource
Throws: IncompatibleSourceException
Thrown if this MediaHandler cannot make use of the DataSource.

All Packages  Class Hierarchy  This Package  Previous  Next  Index