| Package | Description |
|---|---|
| name.fraser.neil.plaintext |
| Modifier and Type | Method and Description |
|---|---|
protected LinkedList<DiffMatchPatch.Patch> |
DiffMatchPatch.patch_deepCopy(LinkedList<DiffMatchPatch.Patch> patches)
Given an array of patches, return another array that is identical.
|
List<DiffMatchPatch.Patch> |
DiffMatchPatch.patch_fromText(String textline)
Parse a textual representation of patches and return a List of Patch
objects.
|
LinkedList<DiffMatchPatch.Patch> |
DiffMatchPatch.patch_make(LinkedList<DiffMatchPatch.Diff> diffs)
Compute a list of patches to turn text1 into text2.
|
LinkedList<DiffMatchPatch.Patch> |
DiffMatchPatch.patch_make(String text1,
LinkedList<DiffMatchPatch.Diff> diffs)
Compute a list of patches to turn text1 into text2.
|
LinkedList<DiffMatchPatch.Patch> |
DiffMatchPatch.patch_make(String text1,
String text2)
Compute a list of patches to turn text1 into text2.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
DiffMatchPatch.patch_addContext(DiffMatchPatch.Patch patch,
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 |
|---|---|
protected String |
DiffMatchPatch.patch_addPadding(LinkedList<DiffMatchPatch.Patch> patches)
Add some padding on text start and end so that edges can match something.
|
Object[] |
DiffMatchPatch.patch_apply(LinkedList<DiffMatchPatch.Patch> patches,
String text)
Merge a set of patches onto the text.
|
protected LinkedList<DiffMatchPatch.Patch> |
DiffMatchPatch.patch_deepCopy(LinkedList<DiffMatchPatch.Patch> patches)
Given an array of patches, return another array that is identical.
|
void |
DiffMatchPatch.patch_splitMax(LinkedList<DiffMatchPatch.Patch> patches)
Look through the patches and break up any which are longer than the
maximum limit of the match algorithm.
|
String |
DiffMatchPatch.patch_toText(List<DiffMatchPatch.Patch> patches)
Take a list of patches and return a textual representation.
|
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.