public class Diff extends DiffBase
| Constructor and Description |
|---|
Diff(String text1,
String text2) |
Diff(String text1,
String text2,
DiffOptions options) |
Diff(String text1,
String text2,
DiffOptions options,
long deadline) |
| Modifier and Type | Method and Description |
|---|---|
static Diff |
fromDelta(String text1,
String delta)
Given the original text1, and an encoded string which describes the
operations required to transform text1 into text2, compute the full diff.
|
LinkedList<Change> |
getChangeList()
Get the finished changelist.
|
equals, getOptions, hashCode, levenshtein, prettyHtml, text1, text2, toDelta, toString, xIndexpublic Diff(String text1, String text2, DiffOptions options)
public Diff(String text1, String text2, DiffOptions options, long deadline)
public LinkedList<Change> getChangeList()
DiffBasegetChangeList in class DiffBasepublic static Diff fromDelta(String text1, String delta) throws IllegalArgumentException
text1 - Source string for the diff.delta - Delta text.IllegalArgumentException - If invalid input.Copyright © 2016. All rights reserved.