public interface Seekable
SourceStream will implement this interface
if it is capable of seeking to a particular position in the
stream.SourceStream| Modifier and Type | Method and Description |
|---|---|
boolean |
isRandomAccess()
Find out if this source can position anywhere in the
stream.
|
long |
seek(long where)
Seek to the specified point in the stream.
|
long |
tell()
Obtain the current point in the stream.
|
long seek(long where)
where - The position to seek to.long tell()
boolean isRandomAccess()
true if the stream is random access, false if the stream can only
be reset to the beginning.Copyright © 2012 code4tv.com. All Rights Reserved.