Class LineIterator

java.lang.Object
scriptella.expression.LineIterator
All Implemented Interfaces:
Closeable, AutoCloseable, Iterator<String>
Direct Known Subclasses:
TrackingLineIterator

public class LineIterator extends Object implements Iterator<String>, Closeable
An Iterator over the lines in a Reader, additionally properties substitution is performed.

This class change the contract of hasNext() method by throwing RuntimeIOException on IOException.

Decorators should override format(String) method.

This class is not threadsafe.

Version:
1.0
Author:
Fyodor Kupolov
See Also: