|
JSR-927 (Maintenance Release) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
:
Player
and MediaProxy
.
Player
,
MediaProxy
Method Summary | |
void |
setSource(DataSource source)
Set the media source the MediaHandler
should use to obtain content. |
Method Detail |
public void setSource(DataSource source) throws java.io.IOException, IncompatibleSourceException
MediaHandler
should use to obtain content.
source
- The DataSource
used
by this MediaHandler
.
java.io.IOException
- Thrown if there is an error
using the DataSource
IncompatibleSourceException
- Thrown if
this MediaHandler
cannot make use
of the DataSource
.
|
JSR-927 (Maintenance Release) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |