| Modifier and Type | Method and Description |
|---|---|
java.util.LinkedList<Patch> |
DiffMatchPatch.patch_deepCopy(java.util.LinkedList<Patch> patches)
Given an array of patches, return another array that is identical.
|
java.util.List<Patch> |
DiffMatchPatch.patch_fromText(java.lang.String textline)
Parse a textual representation of patches and return a List of Patch
objects.
|
java.util.LinkedList<Patch> |
DiffMatchPatch.patch_make(java.util.LinkedList<Diff> diffs)
Compute a list of patches to turn text1 into text2.
|
java.util.LinkedList<Patch> |
DiffMatchPatch.patch_make(java.lang.String text1,
java.util.LinkedList<Diff> diffs)
Compute a list of patches to turn text1 into text2.
|
java.util.LinkedList<Patch> |
DiffMatchPatch.patch_make(java.lang.String text1,
java.lang.String text2)
Compute a list of patches to turn text1 into text2.
|
java.util.LinkedList<Patch> |
DiffMatchPatch.patch_make(java.lang.String text1,
java.lang.String text2,
java.util.LinkedList<Diff> diffs)
Deprecated.
Prefer patch_make(String text1, LinkedList<Diff> diffs).
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
DiffMatchPatch.patch_addContext(Patch patch,
java.lang.String text)
Increase the context until it is unique,
but don't let the pattern expand beyond Match_MaxBits.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
DiffMatchPatch.patch_addPadding(java.util.LinkedList<Patch> patches)
Add some padding on dmp start and end so that edges can match something.
|
java.lang.Object[] |
DiffMatchPatch.patch_apply(java.util.LinkedList<Patch> patches,
java.lang.String text)
Merge a set of patches onto the dmp.
|
java.util.LinkedList<Patch> |
DiffMatchPatch.patch_deepCopy(java.util.LinkedList<Patch> patches)
Given an array of patches, return another array that is identical.
|
void |
DiffMatchPatch.patch_splitMax(java.util.LinkedList<Patch> patches)
Look through the patches and break up any which are longer than the
maximum limit of the match algorithm.
|
java.lang.String |
DiffMatchPatch.patch_toText(java.util.List<Patch> patches)
Take a list of patches and return a textual representation.
|
Copyright © 2018. All Rights Reserved.