public class CompositeInput extends AbstractInput
| Constructor and Description |
|---|
CompositeInput(Input... inputs)
Constructor with inputs to combine.
|
CompositeInput(List<? extends Input> inputs)
Constructor with inputs to combine.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Invokes close of all component input objects.
|
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 CompositeInput(Input... inputs)
inputs - the inputs to combinepublic CompositeInput(List<? extends Input> inputs)
inputs - the inputs to combinepublic boolean hasMoreLines()
Inputpublic Line readLine()
Inputpublic void close()
Copyright © 2025. All rights reserved.