public class MergingPullBufferDataSource extends PullBufferDataSource
MergingPullBufferDataSource
.Modifier and Type | Field and Description |
---|---|
protected java.util.List<PullBufferDataSource> |
sources |
DURATION_UNBOUNDED, DURATION_UNKNOWN
Constructor and Description |
---|
MergingPullBufferDataSource(java.util.List<PullBufferDataSource> sources) |
Modifier and Type | Method and Description |
---|---|
void |
connect() |
void |
disconnect() |
java.lang.String |
getContentType() |
java.lang.Object |
getControl(java.lang.String controlType) |
java.lang.Object[] |
getControls() |
Time |
getDuration() |
PullBufferStream[] |
getStreams() |
void |
start() |
void |
stop() |
getLocator, initCheck, setLocator
protected final java.util.List<PullBufferDataSource> sources
public MergingPullBufferDataSource(java.util.List<PullBufferDataSource> sources)
public PullBufferStream[] getStreams()
getStreams
in class PullBufferDataSource
public void connect() throws java.io.IOException
connect
in class DataSource
java.io.IOException
public void disconnect()
disconnect
in class DataSource
public java.lang.String getContentType()
getContentType
in class DataSource
public java.lang.Object getControl(java.lang.String controlType)
getControl
in interface Controls
getControl
in class DataSource
public java.lang.Object[] getControls()
getControls
in interface Controls
getControls
in class DataSource
public Time getDuration()
getDuration
in interface Duration
getDuration
in class DataSource
public void start() throws java.io.IOException
start
in class DataSource
java.io.IOException
public void stop() throws java.io.IOException
stop
in class DataSource
java.io.IOException