public interface Input extends Iterable<Line>
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreLines()
Returns true if there are more lines to be read.
|
Iterator<Line> |
iterator()
Returns an immutable iterator over all lines returned by this input
object.
|
Line |
readLine()
Reads the next line.
|
forEach, spliterator
boolean hasMoreLines()
Line readLine()
Copyright © 2012-2018 unix4j (tools4j), Ben Warner and Marco Terzer. All rights reserved.