public class RandomAccessSeekableInputStream
extends SeekableInputStream
| Constructor and Description |
|---|
RandomAccessSeekableInputStream(RandomAccessFile randomAccessFile) |
| Modifier and Type | Method and Description |
|---|---|
long |
getPos() |
int |
read() |
int |
read(ByteBuffer byteBuffer) |
void |
readFully(byte[] bytes) |
void |
readFully(byte[] bytes,
int start,
int len) |
void |
readFully(ByteBuffer byteBuffer) |
void |
seek(long newPos) |
public RandomAccessSeekableInputStream(RandomAccessFile randomAccessFile)
public long getPos()
throws IOException
IOExceptionpublic void seek(long newPos)
throws IOException
IOExceptionpublic void readFully(byte[] bytes)
throws IOException
IOExceptionpublic void readFully(byte[] bytes,
int start,
int len)
throws IOException
IOExceptionpublic int read(ByteBuffer byteBuffer) throws IOException
IOExceptionpublic void readFully(ByteBuffer byteBuffer) throws IOException
IOExceptionpublic int read()
throws IOException
IOExceptionCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.