public class BlockingInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
protected InputStream |
is
The stream.
|
| Constructor and Description |
|---|
BlockingInputStream(InputStream is)
Instantiates a new blocking input stream.
|
protected InputStream is
public BlockingInputStream(InputStream is)
is - the ispublic int available()
throws IOException
available in class InputStreamIOExceptionInputStream.available()public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionInputStream.close()public void mark(int readLimit)
mark in class InputStreamInputStream.mark(int)public boolean markSupported()
markSupported in class InputStreamInputStream.markSupported()public int read()
throws IOException
read in class InputStreamIOExceptionInputStream.read()public int read(byte[] bf)
throws IOException
read in class InputStreambf - the buffer to fillIOException - Signals that an I/O exception has occurred.InputStream.read(byte[])public int read(byte[] bf,
int s,
int l)
throws IOException
read in class InputStreamIOExceptionInputStream.read(byte[], int, int)public void reset()
throws IOException
reset in class InputStreamIOExceptionInputStream.reset()public long skip(long n)
throws IOException
skip in class InputStreamIOExceptionInputStream.skip(long)Copyright © 2016 SAPERION AG. All rights reserved.