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.FilterInputStream
public boolean markSupported()
markSupported
in class java.io.FilterInputStream
public int read() throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public long skip(long n)
skip
in class java.io.FilterInputStream