public class HeaderInputStream
extends java.io.FilterInputStream
DConnect| Constructor and Description |
|---|
HeaderInputStream(java.io.InputStream in)
Construct a new HeaderInputStream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available()
Return the number of bytes in the buffer.
|
boolean |
markSupported()
Returns that we don't support the mark() and reset() methods.
|
int |
read()
Reads a single byte of data
|
int |
read(byte[] b,
int off,
int len)
Reads up to len bytes of data from this input stream into an array of
bytes.
|
long |
skip(long n)
Skips over and discards n bytes of data from the input stream.
|
public HeaderInputStream(java.io.InputStream in)
public int available()
available in class java.io.FilterInputStreampublic boolean markSupported()
markSupported in class java.io.FilterInputStreampublic int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic long skip(long n)
skip in class java.io.FilterInputStream