public final class RandomAccessFileInputstream extends InputStream
Constructor and Description |
---|
RandomAccessFileInputstream(RandomAccessFile file)
Creates an instance that will provide
InputStream functionality
on the given RandomAccessFile by delegating calls. |
Modifier and Type | Method and Description |
---|---|
int |
read() |
int |
read(byte[] buffer,
int off,
int len) |
long |
skip(long amount) |
available, close, mark, markSupported, read, reset
public RandomAccessFileInputstream(RandomAccessFile file)
InputStream
functionality
on the given RandomAccessFile
by delegating calls.file
- The file to read.public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] buffer, int off, int len) throws IOException
read
in class InputStream
IOException
public long skip(long amount) throws IOException
skip
in class InputStream
IOException
Copyright © 2005–2020 jthink.net. All rights reserved.