public class RandomInputStream extends InputStream
| Constructor and Description |
|---|
RandomInputStream(long size) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] data) |
int |
read(byte[] data,
int offset,
int length) |
long |
skip(long bytesToSkip) |
mark, markSupported, resetpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] data,
int offset,
int length)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] data)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long bytesToSkip)
throws IOException
skip in class InputStreamIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class InputStreampublic int available()
available in class InputStreamCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.