javax.media.protocol
Class DataSource
java.lang.Object
javax.media.protocol.DataSource
- All Implemented Interfaces:
- Controls, Duration
- Direct Known Subclasses:
- PullBufferDataSource, PullDataSource, PushBufferDataSource, PushDataSource
public abstract class DataSource
- extends java.lang.Object
- implements Controls, Duration
Standard JMF class -- see this class in the JMF Javadoc.
Coding Complete.
- Author:
- Ken Larson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSource
public DataSource()
DataSource
public DataSource(MediaLocator source)
setLocator
public void setLocator(MediaLocator source)
getLocator
public MediaLocator getLocator()
initCheck
protected void initCheck()
getContentType
public abstract java.lang.String getContentType()
connect
public abstract void connect()
throws java.io.IOException
- Throws:
java.io.IOException
disconnect
public abstract void disconnect()
start
public abstract void start()
throws java.io.IOException
- Throws:
java.io.IOException
stop
public abstract void stop()
throws java.io.IOException
- Throws:
java.io.IOException
getControl
public abstract java.lang.Object getControl(java.lang.String controlType)
- Specified by:
getControl
in interface Controls
getControls
public abstract java.lang.Object[] getControls()
- Specified by:
getControls
in interface Controls
getDuration
public abstract Time getDuration()
- Specified by:
getDuration
in interface Duration