javax.media
Interface MediaProxy

All Known Subinterfaces:
DataSinkProxy

public abstract interface MediaProxy
extends MediaHandler


Method Summary
 DataSource getDataSource()
          Obtain the new DataSource.
 
Methods inherited from interface javax.media.MediaHandler
setSource
 

Method Detail

getDataSource

public DataSource getDataSource()
                         throws java.io.IOException,
                                NoDataSourceException
Obtain the new DataSource. The DataSource is already connected.
Returns:
the new DataSource for this content.
Throws:
java.io.IOException - Thrown when if there are IO problems in reading the the original or new DataSource.
NoDataSourceException - Thrown if this proxy can't produce a DataSource.