public class TrackingLineIterator extends LineIterator
| Constructor and Description |
|---|
TrackingLineIterator(Reader in,
ParametersCallback callback)
Creates instance of line iterator.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
format(String line) |
String |
getTrackedLines() |
void |
trackLines()
Starts to track lines.
|
close, getLineAt, hasNext, next, remove, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic TrackingLineIterator(Reader in, ParametersCallback callback)
in - a reader to wrap.callback - callback to use for variables substitution.protected String format(String line)
format in class LineIteratorpublic String getTrackedLines()
trackLines().public void trackLines()
The previously tracked content is cleared.
getTrackedLines()Copyright © 2006–2019. All rights reserved.