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.
|
in| 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.
|
close, mark, read, reset, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected int spaceCount
public QPInputStream(java.io.InputStream in)
in - the underlying input stream.public int read() throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] bytes, int off, int len) throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.FilterInputStreampublic int available() throws java.io.IOException
available in class java.io.FilterInputStreamjava.io.IOException