public final class CloseableLineIterator extends org.apache.commons.io.LineIterator implements CloseableIterator<String>
| Constructor and Description |
|---|
CloseableLineIterator(Reader reader)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
closeQuietly, hasNext, isValidLine, next, nextLine, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittransformforEachRemaining, hasNext, next, removepublic CloseableLineIterator(Reader reader) throws IllegalArgumentException
reader - Reader to pass to LineIterator.LineIterator(java.io.Reader)IllegalArgumentException - Propagated from LineIterator.LineIterator(java.io.Reader)public void close()
close in interface CloseableIterator<String>close in interface Closeableclose in interface AutoCloseableclose in class org.apache.commons.io.LineIterator