|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SeekableInput
An InputStream that supports seek and tell.
Method Summary | |
---|---|
long |
length()
Return the length of the file. |
int |
read(byte[] b,
int off,
int len)
Equivalent to InputStream.read(byte[],int,int) . |
void |
seek(long p)
Set the position for the next read() . |
long |
tell()
Return the position of the next read() . |
Methods inherited from interface java.io.Closeable |
---|
close |
Method Detail |
---|
void seek(long p) throws IOException
read()
.
IOException
long tell() throws IOException
read()
.
IOException
long length() throws IOException
IOException
int read(byte[] b, int off, int len) throws IOException
InputStream.read(byte[],int,int)
.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |