public class BufferedRandomAccessInputStream extends InputStream
Constructor and Description |
---|
BufferedRandomAccessInputStream(RandomAccessFile in) |
BufferedRandomAccessInputStream(RandomAccessFile in,
int bufsize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getFilePointer() |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long pos) |
public BufferedRandomAccessInputStream(RandomAccessFile in) throws IOException
IOException
public BufferedRandomAccessInputStream(RandomAccessFile in, int bufsize) throws IOException
IOException
public final int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public boolean markSupported()
markSupported
in class InputStream
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public void seek(long pos) throws IOException
IOException
public long getFilePointer()