All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface javax.media.MediaProxy

public interface MediaProxy
extends MediaHandler
MediaProxy is a MediaHandler which processes content from one DataSource, to produce another DataSource.

Typically, a MediaProxy reads a text configuration file that contains all of the information needed to make a connection to a server and obtain media data. To produce a Player from a MediaLocator referencing the configuration file, Manger:

Version:
1.10, 97/08/25.
See Also:
Manager

Method Index

 o getDataSource()
Obtain the new DataSource.

Methods

 o getDataSource
 public abstract DataSource getDataSource() throws IOException, NoDataSourceException
Obtain the new DataSource. The DataSource is already connected.

Returns:
the new DataSource for this content.
Throws: IOException
Thrown when if there are IO problems in reading the the original or new DataSource.
Throws: NoDataSourceException
Thrown if this proxy can't produce a DataSource.

All Packages  Class Hierarchy  This Package  Previous  Next  Index