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 |
|---|---|
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()
InputCopyright © 2012-2018 unix4j (tools4j), Ben Warner and Marco Terzer. All rights reserved.