public class Diff
extends java.lang.Object
The following resources were used for implementation:
| Constructor and Description |
|---|
Diff() |
| Modifier and Type | Method and Description |
|---|---|
static void |
printNormalDiff(java.util.List<java.lang.String> x,
java.util.List<java.lang.String> y,
java.io.Writer writer)
Generates normal diff output in normal format.
|
public static void printNormalDiff(java.util.List<java.lang.String> x,
java.util.List<java.lang.String> y,
java.io.Writer writer)
throws java.io.IOException
x - lines in original file. Each line should include its terminator.y - lines in revised file. Each line should include its terminator.writer - destination of diffjava.io.IOException