javax.media.protocol
Class PullBufferDataSource

java.lang.Object
  |
  +--javax.media.protocol.DataSource
        |
        +--javax.media.protocol.PullBufferDataSource
All Implemented Interfaces:
Controls, Controls, Duration

public abstract class PullBufferDataSource
extends DataSource

Abstracts a media data-source that contains one or more PullBufferStreams and delivers data as Buffer objects.

Since:
JMF 2.0
See Also:
Manager, Player, Buffer, DataSource, PullBufferStream

Field Summary
 
Fields inherited from class javax.media.protocol.DataSource
sourceLocator
 
Fields inherited from interface javax.media.Duration
DURATION_UNBOUNDED, DURATION_UNKNOWN
 
Constructor Summary
PullBufferDataSource()
           
 
Method Summary
abstract  PullBufferStream[] getStreams()
          Get the collection of streams that this source manages.
 
Methods inherited from class javax.media.protocol.DataSource
connect, disconnect, getContentType, getLocator, initCheck, setLocator, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.media.Controls
getControl, getControls
 
Methods inherited from interface javax.media.Duration
getDuration
 

Constructor Detail

PullBufferDataSource

public PullBufferDataSource()
Method Detail

getStreams

public abstract PullBufferStream[] getStreams()
Get the collection of streams that this source manages. The collection of streams is entirely content dependent. The MIME type of this DataSource provides the only indication of what streams can be available on this connection. Each of the streams returned by this datasource is a PullBufferStream

Returns:
The collection of streams for this source.