Uses of Class
com.logicaldoc.comparison.basic.DiffMatch.Patch
-
Uses of DiffMatch.Patch in com.logicaldoc.comparison.basic
Modifier and TypeMethodDescriptionDiffMatch.patchDeepCopy
(LinkedList<DiffMatch.Patch> patches) Given an array of patches, return another array that is identical.DiffMatch.patchFromText
(String textline) Parse a textual representation of patches and return a List of Patch objects.Compute a list of patches to turn text1 into text2.DiffMatch.patchMake
(String text1, LinkedList<DiffMatch.Diff> diffs) Compute a list of patches to turn text1 into text2.DiffMatch.patchMake
(LinkedList<DiffMatch.Diff> diffs) Compute a list of patches to turn text1 into text2.Modifier and TypeMethodDescriptionDiffMatch.patchAddPadding
(LinkedList<DiffMatch.Patch> patches) Add some padding on text start and end so that edges can match something.Object[]
DiffMatch.patchApply
(LinkedList<DiffMatch.Patch> patches, String text) Merge a set of patches onto the text.DiffMatch.patchDeepCopy
(LinkedList<DiffMatch.Patch> patches) Given an array of patches, return another array that is identical.void
DiffMatch.patchSplitMax
(LinkedList<DiffMatch.Patch> patches) Look through the patches and break up any which are longer than the maximum limit of the match algorithm.DiffMatch.patchToText
(List<DiffMatch.Patch> patches) Take a list of patches and return a textual representation.