public class CompositeInput extends AbstractInput
| Constructor and Description |
|---|
CompositeInput(Input... inputs)
Constructor with inputs to combine.
|
CompositeInput(java.util.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.
|
java.lang.String |
toString() |
iteratorpublic CompositeInput(Input... inputs)
inputs - the inputs to combinepublic CompositeInput(java.util.List<? extends Input> inputs)
inputs - the inputs to combinepublic boolean hasMoreLines()
Inputpublic Line readLine()
Inputpublic void close()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2021. All Rights Reserved.