LineIter
Introduction
This tool is inspired by the Apache Commons io
and Guava
projects.
It wraps a Reader into an Iterator that reads lines.
Usage
final LineIter lineIter = new LineIter(ResourceUtil.getUtf8Reader("test_lines.csv"));
for (String line : lineIter) {
Console.log(line);
}