javax.media.protocol
Class DataSource

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

public abstract class DataSource
extends java.lang.Object
implements Duration, Controls

This is not an official specification document, and usage is restricted.

NOTICE


(c) 2005 Sun Microsystems, Inc. All Rights Reserved.

Neither this file nor any files generated from it describe a complete specification, and they may only be used as described below. For example, no permission is given for you to incorporate this file, in whole or in part, in an implementation of a Java specification.

Sun Microsystems Inc. owns the copyright in this file and it is provided to you for informative, as opposed to normative, use. The file and any files generated from it may be used to generate other informative documentation, such as a unified set of documents of API signatures for a platform that includes technologies expressed as Java APIs. The file may also be used to produce "compilation stubs," which allow applications to be compiled and validated for such platforms.

Any derivative work of this file, such as unified javadocs or compiled stub files, must be accompanied by this notice in its entirety.

This file corresponds to the API signatures of the Java Media Framework API Version 1.0 specification. In the event of a discrepency between this file and the Java Media Framework API Version 1.0 specification, the latter takes precidence. The Java Media Framework API Version 1.0 specification is part of ISBN:1-892488-25-6, available as The Sun Specifiations for DVB, available from http://java.sun.com/products/specformhp/.


Field Summary
 
Fields inherited from interface javax.media.Duration
DURATION_UNBOUNDED, DURATION_UNKNOWN
 
Constructor Summary
DataSource()
          This is not an official specification document, and usage is restricted.
DataSource(MediaLocator arg1)
          This is not an official specification document, and usage is restricted.
 
Method Summary
abstract  void connect()
          This is not an official specification document, and usage is restricted.
abstract  void disconnect()
          This is not an official specification document, and usage is restricted.
abstract  java.lang.String getContentType()
          This is not an official specification document, and usage is restricted.
abstract  java.lang.Object getControl(java.lang.String arg1)
          This is not an official specification document, and usage is restricted.
abstract  java.lang.Object[] getControls()
          This is not an official specification document, and usage is restricted.
abstract  Time getDuration()
          This is not an official specification document, and usage is restricted.
 MediaLocator getLocator()
          This is not an official specification document, and usage is restricted.
protected  void initCheck()
          This is not an official specification document, and usage is restricted.
 void setLocator(MediaLocator arg1)
          This is not an official specification document, and usage is restricted.
abstract  void start()
          This is not an official specification document, and usage is restricted.
abstract  void stop()
          This is not an official specification document, and usage is restricted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSource

public DataSource()
This is not an official specification document, and usage is restricted. Please refer to the notice at the top of this file.


DataSource

public DataSource(MediaLocator arg1)
This is not an official specification document, and usage is restricted. Please refer to the notice at the top of this file.

Method Detail

initCheck

protected void initCheck()
This is not an official specification document, and usage is restricted. Please refer to the notice at the top of this file.


getControl

public abstract java.lang.Object getControl(java.lang.String arg1)
This is not an official specification document, and usage is restricted. Please refer to the notice at the top of this file.

Specified by:
getControl in interface Controls

getControls

public abstract java.lang.Object[] getControls()
This is not an official specification document, and usage is restricted. Please refer to the notice at the top of this file.

Specified by:
getControls in interface Controls

getContentType

public abstract java.lang.String getContentType()
This is not an official specification document, and usage is restricted. Please refer to the notice at the top of this file.


getDuration

public abstract Time getDuration()
This is not an official specification document, and usage is restricted. Please refer to the notice at the top of this file.

Specified by:
getDuration in interface Duration

connect

public abstract void connect()
                      throws java.io.IOException
This is not an official specification document, and usage is restricted. Please refer to the notice at the top of this file.

Throws:
java.io.IOException

disconnect

public abstract void disconnect()
This is not an official specification document, and usage is restricted. Please refer to the notice at the top of this file.


start

public abstract void start()
                    throws java.io.IOException
This is not an official specification document, and usage is restricted. Please refer to the notice at the top of this file.

Throws:
java.io.IOException

stop

public abstract void stop()
                   throws java.io.IOException
This is not an official specification document, and usage is restricted. Please refer to the notice at the top of this file.

Throws:
java.io.IOException

getLocator

public MediaLocator getLocator()
This is not an official specification document, and usage is restricted. Please refer to the notice at the top of this file.


setLocator

public void setLocator(MediaLocator arg1)
This is not an official specification document, and usage is restricted. Please refer to the notice at the top of this file.