|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A media object will implement this interface if it is capable of seeking to a particular position in the stream. The most common classes that implement Seekable are SourceStreams in DataSources and SourceTransferHandlers in DataSinks.
PullSourceStream,
SourceTransferHandler,
DataSink| Method Summary | |
boolean |
isRandomAccess()
Find out if this media object 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. |
| Method Detail |
public long seek(long where)
where - The position to seek to.public long tell()
public boolean isRandomAccess()
true if the stream is random access, false if the stream can only
be reset to the beginning.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||