|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Seekable
Implemented by some InputStreams and Readers so the read/write position can be adjusted.
Method Summary | ||
---|---|---|
long |
getPosition()
Return the current position in the stream. |
|
void |
setPosition(long position)
Set the current position in the stream. |
Method Detail |
---|
long getPosition() throws IOException
IOException
- if the position can not be obtained.void setPosition(long position) throws IOException
position
- The new position within the stream.
IOException
- if the position can not be set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal