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
IOException
public void seek(long newPos) throws IOException
IOException
public void readFully(byte[] bytes) throws IOException
IOException
public void readFully(byte[] bytes, int start, int len) throws IOException
IOException
public int read(ByteBuffer byteBuffer) throws IOException
IOException
public void readFully(ByteBuffer byteBuffer) throws IOException
IOException
public int read() throws IOException
IOException
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.