Uses of Class
com.composum.ai.aem.core.impl.autotranslate.DiffMatchPatch.Patch
-
Packages that use DiffMatchPatch.Patch Package Description com.composum.ai.aem.core.impl.autotranslate -
-
Uses of DiffMatchPatch.Patch in com.composum.ai.aem.core.impl.autotranslate
Methods in com.composum.ai.aem.core.impl.autotranslate that return types with arguments of type DiffMatchPatch.Patch Modifier and Type Method Description 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(String text1, String text2)
Compute a list of patches to turn text1 into text2.LinkedList<DiffMatchPatch.Patch>
DiffMatchPatch. patch_make(String text1, String text2, LinkedList<DiffMatchPatch.Diff> diffs)
Deprecated.Prefer patch_make(String text1, LinkedListdiffs). 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(LinkedList<DiffMatchPatch.Diff> diffs)
Compute a list of patches to turn text1 into text2.Methods in com.composum.ai.aem.core.impl.autotranslate with parameters of type DiffMatchPatch.Patch Modifier and Type Method 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.Method parameters in com.composum.ai.aem.core.impl.autotranslate with type arguments of type DiffMatchPatch.Patch Modifier and Type Method Description 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.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.
-