All Packages Class Hierarchy This Package Previous Next Index
SourceStream
might support an operation that
is not part of the SourceStream
definition.
For example a stream might support seeking to a particular byte
in the stream. Some operations are dependent on the stream
data, and support cannot be determined until the stream is in
use.
To obtain all of the objects that provide control over a stream
use getControls
. To determine if a particular
kind of control is available, and obtain the object that
implements the control use getControl
.
public static final long LENGTH_UNKNOWN
public abstract ContentDescriptor getContentDescriptor()
ContentDescriptor
for this stream.
public abstract long getContentLength()
public abstract boolean endOfStream()
true
if there is no more data.
All Packages Class Hierarchy This Package Previous Next Index