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, resetpublic RandomAccessInputStream(RandomAccessRead randomAccessRead)
randomAccessRead - The RandomAccessRead to read from.public int available()
throws IOException
available in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.