Class IoUtil.LineIterator

java.lang.Object
com.sure.tool.io.IoUtil.LineIterator
All Implemented Interfaces:
AutoCloseable, Iterator<String>
Enclosing class:
IoUtil

public static final class IoUtil.LineIterator extends Object implements Iterator<String>, AutoCloseable
懒加载行迭代器:next() 时才读取下一行,可关闭底层流。

用法与 Commons IO LineIterator 一致;使用完毕务必 close()。

Since:
0.1.0
Author:
suretool