Java java.io LineNumberInputStream fields, constructors, methods, implement or subclass

Example usage for Java java.io LineNumberInputStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.io LineNumberInputStream.

The text is from its open source code.

Constructor

LineNumberInputStream(InputStream in)
Constructs a newline number input stream that reads its input from the specified input stream.

Method

intavailable()
Returns the number of bytes that can be read from this input stream without blocking.
intgetLineNumber()
Returns the current line number.
voidmark(int readlimit)
Marks the current position in this input stream.
booleanmarkSupported()
Tests if this input stream supports the mark and reset methods.
intread()
Reads the next byte of data from this input stream.
intread(byte b[], int off, int len)
Reads up to len bytes of data from this input stream into an array of bytes.
voidreset()
Repositions this stream to the position at the time the mark method was last called on this input stream.
voidsetLineNumber(int lineNumber)
Sets the line number to the specified argument.
longskip(long n)
Skips over and discards n bytes of data from this input stream.