|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IReadOnlyAccess
DOCUMENT ME
| Method Summary | |
|---|---|
void |
close()
Close this file. |
long |
getPosition()
|
int |
read()
Read a single byte of data. |
int |
read(byte[] buffer,
int off,
int count)
Read up to count bytes to the specified buffer. |
int |
readFully(byte[] buffer,
int count)
Read exactly count bytes to the specified buffer. |
void |
setPosition(long pos)
|
| Method Detail |
|---|
long getPosition()
throws IOException
IOException
void setPosition(long pos)
throws IOException
pos - the position in the file
IOException
int read()
throws IOException
IOException
int read(byte[] buffer,
int off,
int count)
throws IOException
IOException
int readFully(byte[] buffer,
int count)
throws IOException
buffer - where to store the read datacount - how many bytes to read
IOException
void close()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||