Class FileLineDifferenceIterator

java.lang.Object
org.apache.jackrabbit.oak.commons.io.FileLineDifferenceIterator
All Implemented Interfaces:
Closeable, AutoCloseable, Iterator<String>

public class FileLineDifferenceIterator extends Object implements Closeable, Iterator<String>
FileLineDifferenceIterator class which iterates over the difference of 2 files line by line. If there is a scope for lines in the files containing line break characters it should be ensured that both the files are written with FileIOUtils.writeAsLine(BufferedWriter, String, boolean) with true to escape line break characters.