Uses of Class
org.netxms.base.DiffMatchPatch.Patch
-
Uses of DiffMatchPatch.Patch in org.netxms.base
Modifier and TypeMethodDescriptionDiffMatchPatch.patch_deepCopy
(LinkedList<DiffMatchPatch.Patch> patches) Given an array of patches, return another array that is identical.DiffMatchPatch.patch_fromText
(String textline) Parse a textual representation of patches and return a List of Patch objects.DiffMatchPatch.patch_make
(String text1, String text2) Compute a list of patches to turn text1 into text2.DiffMatchPatch.patch_make
(String text1, String text2, LinkedList<DiffMatchPatch.Diff> diffs) Deprecated.DiffMatchPatch.patch_make
(String text1, LinkedList<DiffMatchPatch.Diff> diffs) Compute a list of patches to turn text1 into text2.DiffMatchPatch.patch_make
(LinkedList<DiffMatchPatch.Diff> diffs) Compute a list of patches to turn text1 into text2.Modifier and TypeMethodDescriptionprotected 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 TypeMethodDescriptionDiffMatchPatch.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.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.DiffMatchPatch.patch_toText
(List<DiffMatchPatch.Patch> patches) Take a list of patches and return a textual representation.
patch_make(String text1, LinkedList<Diff> diffs)
.