Package | Description |
---|---|
com.openkm.util |
Modifier and Type | Method and Description |
---|---|
LinkedList<DiffMatchPatch.Patch> |
DiffMatchPatch.patchDeepCopy(LinkedList<DiffMatchPatch.Patch> patches)
Given an array of patches, return another array that is identical.
|
List<DiffMatchPatch.Patch> |
DiffMatchPatch.patchFromText(String textline)
Parse a textual representation of patches and return a List of Patch
objects.
|
LinkedList<DiffMatchPatch.Patch> |
DiffMatchPatch.patchMake(LinkedList<DiffMatchPatch.Diff> diffs)
Compute a list of patches to turn text1 into text2.
|
LinkedList<DiffMatchPatch.Patch> |
DiffMatchPatch.patchMake(String text1,
LinkedList<DiffMatchPatch.Diff> diffs)
Compute a list of patches to turn text1 into text2.
|
LinkedList<DiffMatchPatch.Patch> |
DiffMatchPatch.patchMake(String text1,
String text2)
Compute a list of patches to turn text1 into text2.
|
LinkedList<DiffMatchPatch.Patch> |
DiffMatchPatch.patchMake(String text1,
String text2,
LinkedList<DiffMatchPatch.Diff> diffs)
Deprecated.
Prefer patch_make(String text1, LinkedList
|
Modifier and Type | Method and Description |
---|---|
protected void |
DiffMatchPatch.patchAddContext(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 |
---|---|
String |
DiffMatchPatch.patchAddPadding(LinkedList<DiffMatchPatch.Patch> patches)
Add some padding on text start and end so that edges can match something.
|
Object[] |
DiffMatchPatch.patchApply(LinkedList<DiffMatchPatch.Patch> patches,
String text)
Merge a set of patches onto the text.
|
LinkedList<DiffMatchPatch.Patch> |
DiffMatchPatch.patchDeepCopy(LinkedList<DiffMatchPatch.Patch> patches)
Given an array of patches, return another array that is identical.
|
void |
DiffMatchPatch.patchSplitMax(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.patchToText(List<DiffMatchPatch.Patch> patches)
Take a list of patches and return a textual representation.
|
Copyright © 2015. All Rights Reserved.