T
- the very type of the SourceStream wrapped by
SourceStreamDelegatepublic class SourceStreamDelegate<T extends javax.media.protocol.SourceStream>
extends java.lang.Object
implements javax.media.protocol.SourceStream
Modifier and Type | Field and Description |
---|---|
protected T |
stream
The SourceStreamDelegate wrapped by this instance.
|
Constructor and Description |
---|
SourceStreamDelegate(T stream)
Initializes a new SourceStreamDelegate instance which is to
wrap a specific SourceStream.
|
Modifier and Type | Method and Description |
---|---|
boolean |
endOfStream()
Implements
SourceStream.endOfStream() . |
javax.media.protocol.ContentDescriptor |
getContentDescriptor()
Implements
SourceStream.getContentDescriptor() . |
long |
getContentLength()
Implements
SourceStream.getContentLength() . |
java.lang.Object |
getControl(java.lang.String controlType)
Implements
Controls.getControl(String) . |
java.lang.Object[] |
getControls()
Implements
Controls.getControls() . |
protected final T extends javax.media.protocol.SourceStream stream
public SourceStreamDelegate(T stream)
stream
- the SourceStream the new instance is to
wrappublic boolean endOfStream()
SourceStream.endOfStream()
. Delegates to the wrapped
SourceStream.endOfStream
in interface javax.media.protocol.SourceStream
public javax.media.protocol.ContentDescriptor getContentDescriptor()
SourceStream.getContentDescriptor()
. Delegates to the
wrapped SourceStream.getContentDescriptor
in interface javax.media.protocol.SourceStream
public long getContentLength()
SourceStream.getContentLength()
. Delegates to the
wrapped SourceStream.getContentLength
in interface javax.media.protocol.SourceStream
public java.lang.Object getControl(java.lang.String controlType)
Controls.getControl(String)
. Delegates to the wrapped
SourceStream.getControl
in interface javax.media.Controls
controlType
- a String value which specifies the type of
the control to be retrievedpublic java.lang.Object[] getControls()
Controls.getControls()
. Delegates to the wrapped
SourceStream.getControls
in interface javax.media.Controls
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.