public class LineNumberInputStream extends FilterInputStream
in
Constructor and Description |
---|
LineNumberInputStream(InputStream inputstream) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
int |
getLineNumber() |
void |
mark(int i) |
int |
read() |
int |
read(byte[] abyte0,
int i,
int j)
Read byte data until there is no more available.
|
void |
reset() |
void |
setLineNumber(int i) |
long |
skip(long l) |
close, markSupported, read
public LineNumberInputStream(InputStream inputstream)
inputstream
- ?public int available() throws IOException
available
in class FilterInputStream
IOException
- ?public int getLineNumber()
public void mark(int i)
mark
in class FilterInputStream
i
- ?public int read() throws IOException
read
in class FilterInputStream
IOException
- ?public int read(byte[] abyte0, int i, int j) throws IOException
InputStream
read
in class FilterInputStream
abyte0
- ?i
- ?j
- ?IOException
- ?public void reset() throws IOException
reset
in class FilterInputStream
IOException
- ?public void setLineNumber(int i)
i
- ?public long skip(long l) throws IOException
skip
in class FilterInputStream
l
- ?IOException
- ?