public class NullInput extends AbstractInput
| Constructor and Description |
|---|
NullInput() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Performs a no-op as there are no underlying resources
|
boolean |
hasMoreLines()
Returns true if there are more lines to be read.
|
Line |
readLine()
Reads the next line.
|
String |
toString() |
iteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic NullInput()
public boolean hasMoreLines()
Inputpublic Line readLine()
Inputpublic void close()
Copyright © 2025. All rights reserved.