Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-927 (Maintenance Release)

javax.media.protocol
Class PullDataSource

java.lang.Object
  extended byjavax.media.protocol.DataSource
      extended byjavax.media.protocol.PullDataSource
All Implemented Interfaces:
Controls, Duration
Direct Known Subclasses:
URLDataSource

public abstract class PullDataSource
extends DataSource

Abstracts a media data-source that only supports pull data-streams.

See Also:
Manager, Player, DefaultPlayerFactory, DataSource

Field Summary
 
Fields inherited from interface javax.media.Duration
DURATION_UNBOUNDED, DURATION_UNKNOWN
 
Constructor Summary
PullDataSource()
           
 
Method Summary
abstract  PullSourceStream[] 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.protocol.Controls
getControl, getControls
 
Methods inherited from interface javax.media.Duration
getDuration
 

Constructor Detail

PullDataSource

public PullDataSource()
Method Detail

getStreams

public abstract PullSourceStream[] 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.

Returns:
The collection of streams for this source.

JSR-927 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 927 specification.