Uses of Class
org.eclnt.ccaddons.pbc.util.string.StringDiff.Patch
Packages that use StringDiff.Patch
-
Uses of StringDiff.Patch in org.eclnt.ccaddons.pbc.util.string
Methods in org.eclnt.ccaddons.pbc.util.string that return types with arguments of type StringDiff.PatchModifier and TypeMethodDescriptionStringDiff.patch_deepCopy
(LinkedList<StringDiff.Patch> patches) Given an array of patches, return another array that is identical.StringDiff.patch_fromText
(String textline) Parse a textual representation of patches and return a List of Patch objects.StringDiff.patch_make
(String text1, String text2) Compute a list of patches to turn text1 into text2.StringDiff.patch_make
(String text1, String text2, LinkedList<StringDiff.Diff> diffs) Deprecated.Prefer patch_make(String text1, LinkedListdiffs). StringDiff.patch_make
(String text1, LinkedList<StringDiff.Diff> diffs) Compute a list of patches to turn text1 into text2.StringDiff.patch_make
(LinkedList<StringDiff.Diff> diffs) Compute a list of patches to turn text1 into text2.Methods in org.eclnt.ccaddons.pbc.util.string with parameters of type StringDiff.PatchModifier and TypeMethodDescriptionprotected void
StringDiff.patch_addContext
(StringDiff.Patch patch, String text) Increase the context until it is unique, but don't let the pattern expand beyond Match_MaxBits.Method parameters in org.eclnt.ccaddons.pbc.util.string with type arguments of type StringDiff.PatchModifier and TypeMethodDescriptionStringDiff.patch_addPadding
(LinkedList<StringDiff.Patch> patches) Add some padding on text start and end so that edges can match something.Object[]
StringDiff.patch_apply
(LinkedList<StringDiff.Patch> patches, String text) Merge a set of patches onto the text.StringDiff.patch_deepCopy
(LinkedList<StringDiff.Patch> patches) Given an array of patches, return another array that is identical.void
StringDiff.patch_splitMax
(LinkedList<StringDiff.Patch> patches) Look through the patches and break up any which are longer than the maximum limit of the match algorithm.StringDiff.patch_toText
(List<StringDiff.Patch> patches) Take a list of patches and return a textual representation.