public class RandomAccessInputStream extends InputStream
Constructor and Description |
---|
RandomAccessInputStream(RandomAccessRead randomAccessRead)
Creates a new RandomAccessInputStream, with a position of zero.
|
Modifier and Type | Method and Description |
---|---|
int |
available() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
close, mark, markSupported, read, reset
public RandomAccessInputStream(RandomAccessRead randomAccessRead)
randomAccessRead
- The RandomAccessRead to read from.public int available() throws IOException
available
in class InputStream
IOException
public 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 long skip(long n) throws IOException
skip
in class InputStream
IOException
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.