java.io.Closeable, java.lang.AutoCloseablepublic class RandomAccessInputStream
extends java.io.InputStream
| Constructor | Description |
|---|---|
RandomAccessInputStream(RandomAccessRead randomAccessRead) |
Creates a new RandomAccessInputStream, with a position of zero.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
available() |
|
int |
read() |
|
int |
read(byte[] b,
int off,
int len) |
|
long |
skip(long n) |
public RandomAccessInputStream(RandomAccessRead randomAccessRead)
randomAccessRead - The RandomAccessRead to read from.public int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOExceptionCopyright © 2002–2018. All rights reserved.