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, reset
public RandomInputStream(long length)
public RandomInputStream(long length, long seed)
public int available() throws IOException
available
in class InputStream
IOException
public long skip(long n) throws IOException
skip
in class InputStream
IOException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b) throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.