Package java.io

Class LineNumberInputStream

extends FilterInputStream ⇾ InputStream ⇾ Object

This class is an input stream filter which provides the added functionality of keeping track of the current line number.

A line sequence of bytes ending with a carriage return character ('\r'), a newline character ('\n'), of a carriage return character followed immediately by a line feed character. In all three cases, the line terminating character(s) are returned as a single newline character.

Public Constructors

Public Methods

Methods inherited from java.io.FilterInputStream

Methods inherited from java.io.InputStream

Methods inherited from java.lang.Object

_INSERT_INHERITED_METHOD_ENTRY_HERE_

_INSERT_FIELDS_ENTRY_HERE_