An input stream that skips the first `n` lines in a text stream
| Constructor and description |
|---|
SkipLinesInputStream
(java.io.InputStream inputStream, int skip)Creates a FilterInputStream
by assigning the argument in
to the field this.in so as
to remember it for later use. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
close() |
|
java.lang.String |
consumeHeader() |
|
java.lang.String |
getHeader() |
|
int |
read() |
|
long |
skip(long n) |
| Methods inherited from class | Name |
|---|---|
class java.io.InputStream |
java.io.InputStream#read([B, int, int), java.io.InputStream#read([B), java.io.InputStream#read(), java.io.InputStream#close(), java.io.InputStream#mark(int), java.io.InputStream#skip(long), java.io.InputStream#available(), java.io.InputStream#markSupported(), java.io.InputStream#reset(), java.io.InputStream#wait(long, int), java.io.InputStream#wait(long), java.io.InputStream#wait(), java.io.InputStream#equals(java.lang.Object), java.io.InputStream#toString(), java.io.InputStream#hashCode(), java.io.InputStream#getClass(), java.io.InputStream#notify(), java.io.InputStream#notifyAll() |
Creates a FilterInputStream
by assigning the argument in
to the field this.in so as
to remember it for later use.
inputStream - the underlying input stream, or null if
this instance is to be created without an underlying stream.