LineNumberInputStream (Java SE 25 & JDK 25)
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Field Summary
-
Constructor Summary
Constructors
Deprecated.
Constructs a newline number input stream that reads its input from the specified input stream.
-
Method Summary
intDeprecated.
Returns the number of bytes that can be read from this input stream without blocking.
intDeprecated.
Returns the current line number.
voidmark(int readlimit) Deprecated.
Marks the current position in this input stream.
intread()Deprecated.
Reads the next byte of data from this input stream.
intread(byte[] b, int off, int len) Deprecated.
Reads up to
lenbytes of data from this input stream into an array of bytes.voidreset()Deprecated.
Repositions this stream to the position at the time the
markmethod was last called on this input stream.voidsetLineNumber(int lineNumber) Deprecated.
Sets the line number to the specified argument.
longskip(long n) Deprecated.
Skips over and discards
nbytes of data from this input stream.
-
Constructor Details
-
LineNumberInputStream
-
-
Method Details
-
read
-
read
-
skip
-
setLineNumber
-
getLineNumber
-
available
-
mark
-
reset
-