apidocs / com.srv4pos.commons.io / LineIterator / close

close

open fun close(): Unit

Closes the underlying Reader quietly. This method is useful if you only want to process the first few lines of a larger file. If you do not close the iterator then the Reader remains open. This method can safely be called multiple times.