java.lang.Iterable<java.lang.String>
public class FileIterable
extends java.lang.Object
implements java.lang.Iterable<java.lang.String>
Handy class to easily iterate over a file, line by line, using a Java 5 for loop.
Constructor | Description |
---|---|
FileIterable(java.io.File file) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
finalize() |
|
java.util.Iterator<java.lang.String> |
iterator() |
Copyright © 2002–2018 PMD. All rights reserved.