public class RandomInputStream extends InputStream
| Constructor and Description |
|---|
RandomInputStream(long length) |
RandomInputStream(long length,
long seed) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
close, mark, markSupported, resetpublic RandomInputStream(long length)
public RandomInputStream(long length,
long seed)
public int available()
throws IOException
available in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.