|
JSR-927 (Maintenance Release) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A SourceStream
will implement this interface
if it is capable of seeking to a particular position in the
stream.
SourceStream
Method Summary | |
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. |
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.
|
JSR-927 (Maintenance Release) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |