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() |
iterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public CompositeInput(Input... inputs)
inputs
- the inputs to combinepublic CompositeInput(List<? extends Input> inputs)
inputs
- the inputs to combinepublic boolean hasMoreLines()
Input
public Line readLine()
Input
public void close()
Copyright © 2024. All rights reserved.