public class Bisect extends DiffBase
| Constructor and Description |
|---|
Bisect(String text1,
String text2)
Bisect two strings.
|
Bisect(String text1,
String text2,
DiffOptions options)
Bisect two strings.
|
| Modifier and Type | Method and Description |
|---|---|
static Bisect |
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 Bisect(String text1, String text2)
text1 - Source (old) string.text2 - Target (new) string.public Bisect(String text1, String text2, DiffOptions options)
text1 - Source (old) string.text2 - Target (new) string.options - DiffOptions to use.public LinkedList<Change> getChangeList()
DiffBasegetChangeList in class DiffBasepublic static Bisect fromDelta(String text1, String delta) throws IllegalArgumentException
text1 - Source string for the diff.delta - Delta text.IllegalArgumentException - If invalid input.Copyright © 2017. All rights reserved.