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, reset
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] data, int offset, int length) throws IOException
read
in class InputStream
IOException
public int read(byte[] data) throws IOException
read
in class InputStream
IOException
public long skip(long bytesToSkip) throws IOException
skip
in class InputStream
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
public int available()
available
in class InputStream
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.