public class QPInputStream
extends java.io.FilterInputStream
Modifier and Type | Field and Description |
---|---|
protected int |
spaceCount
The number of times read() will return a space.
|
Constructor and Description |
---|
QPInputStream(java.io.InputStream in)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
available()
Returns the number of bytes that can be read without blocking.
|
boolean |
markSupported()
Mark is not supported.
|
int |
read()
Read a character from the stream.
|
int |
read(byte[] bytes,
int off,
int len)
Reads from the underlying stream into the specified byte array.
|
public QPInputStream(java.io.InputStream in)
in
- the underlying input stream.public int read() throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] bytes, int off, int len) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public boolean markSupported()
markSupported
in class java.io.FilterInputStream
public int available() throws java.io.IOException
available
in class java.io.FilterInputStream
java.io.IOException