Package com.github.difflib.unifieddiff


package com.github.difflib.unifieddiff
This is the new implementation of UnifiedDiff Tools. This version is multi file aware.

To read a unified diff file you should use UnifiedDiffReader.parseUnifiedDiff(java.io.InputStream). You will get a UnifiedDiff that holds all informations about the diffs and the files.

To process the UnifiedDiff use UnifiedDiffWriter.write(com.github.difflib.unifieddiff.UnifiedDiff, java.util.function.Function<java.lang.String, java.util.List<java.lang.String>>, java.io.Writer, int).