Package org.apache.rat.header
Class LineNumberReader
java.lang.Object
org.apache.rat.header.LineNumberReader
Deprecated.
Replacement for
LineNumberReader
. This class
provides a workaround for an incompatibility in the
LineNumberReader
: If the last line in a file
isn't terminated with LF, or CR, or CRLF, then that line
is counted in Java 16, and beyond, but wasn't counted before.
This implementation is compatible with the latter variant,
thus providing upwards compatibility for RAT.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LineNumberReader
Deprecated.
-
-
Method Details
-
read
Deprecated.- Throws:
IOException
-
getLineNumber
public int getLineNumber()Deprecated.
-