public class Differ
extends java.lang.Object
| Constructor and Description | 
|---|
| Differ(int oldLength,
      int newLength) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<Hunk> | diff(java.lang.String[] oldFile,
    java.lang.String[] newFile) | 
public Differ(int oldLength,
              int newLength)
oldLength - The length of the old filenewLength - The length of the new filepublic java.util.List<Hunk> diff(java.lang.String[] oldFile, java.lang.String[] newFile)
oldFile - The old(first, from) filenewFile - The new(second, to) file