swishej
Interface Reader
- All Known Implementing Classes:
- UReader, FReader
- interface Reader
Interface for reading a SWISH-E index file.
- See Also:
FReader
,
UReader
Method Summary |
int |
read(byte[] b)
Read an array of bytes. |
void |
seek(long pos)
Seek to file position. |
long |
tell()
Retrieve current file position |
read
public int read(byte[] b)
throws java.io.IOException
- Read an array of bytes.
- Parameters:
b
- byte array to be filled by the read- Returns:
- number of bytes read
- Throws:
- java.io.IOException - if an error occurred
seek
public void seek(long pos)
throws java.io.IOException
- Seek to file position.
- Parameters:
pos
- position measured from begin of file, must be positive- Throws:
- java.io.IOException - if an error occurred
tell
public long tell()
- Retrieve current file position
- Returns:
- current file position
Contact: Christian.Werner@t-online.de