public final class EachLineIterable
extends java.lang.Object
implements java.lang.Iterable<java.lang.String>
EachLineIterable
iterates a File line by line.Constructor and Description |
---|
EachLineIterable(java.io.File file)
Creates an
EachLineIterable . |
public EachLineIterable(java.io.File file)
EachLineIterable
.file
- a Filejava.lang.NullPointerException
- if file is null