javax.media
Interface MediaProxy

All Known Subinterfaces:
DataSinkProxy

public 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.


Submit a bug or feature
Copyright 1994-2004 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.