Package net.sourceforge.pmd.util
Class FileIterable
- java.lang.Object
-
- net.sourceforge.pmd.util.FileIterable
-
@Deprecated public class FileIterable extends Object implements Iterable<String>
Deprecated.Just useFiles.readAllLines(Path, Charset)
orlines
on Java 8Handy class to easily iterate over a file, line by line, using a Java 5 for loop.
- Author:
- Romain Pelisse <belaran@gmail.com>
-
-
Constructor Summary
Constructors Constructor Description FileIterable(File file)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
finalize()
Deprecated.Iterator<String>
iterator()
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
FileIterable
public FileIterable(File file)
Deprecated.
-
-