Uses of Class
com.github.difflib.patch.Patch
Packages that use Patch
Package
Description
This is the new implementation of UnifiedDiff Tools.
-
Uses of Patch in com.github.difflib
Methods in com.github.difflib that return PatchModifier and TypeMethodDescriptionDiffUtils.diff(String sourceText, String targetText, DiffAlgorithmListener progress) Computes the difference between the original and revised text.static <T> Patch<T> static <T> Patch<T> static <T> Patch<T> DiffUtils.diff(List<T> original, List<T> revised, DiffAlgorithmI<T> algorithm) Computes the difference between the original and revised list of elements with default diff algorithmstatic <T> Patch<T> DiffUtils.diff(List<T> original, List<T> revised, DiffAlgorithmI<T> algorithm, DiffAlgorithmListener progress) static <T> Patch<T> DiffUtils.diff(List<T> original, List<T> revised, DiffAlgorithmI<T> algorithm, DiffAlgorithmListener progress, boolean includeEqualParts) Computes the difference between the original and revised list of elements with default diff algorithmstatic <T> Patch<T> DiffUtils.diff(List<T> original, List<T> revised, DiffAlgorithmListener progress) Computes the difference between the original and revised list of elements with default diff algorithmstatic <T> Patch<T> DiffUtils.diff(List<T> source, List<T> target, BiPredicate<T, T> equalizer) Computes the difference between the original and revised list of elements with default diff algorithmDiffUtils.diffInline(String original, String revised) Computes the difference between the given texts inline.UnifiedDiffUtils.parseUnifiedDiff(List<String> diff) Parse the given text in unified format and creates the list of deltas for it.Methods in com.github.difflib with parameters of type PatchModifier and TypeMethodDescriptionUnifiedDiffUtils.generateUnifiedDiff(String originalFileName, String revisedFileName, List<String> originalLines, Patch<String> patch, int contextSize) generateUnifiedDiff takes a Patch and some other arguments, returning the Unified Diff format text representing the Patch.static <T> List<T> Patch the original text with given patchprivate static voidUnifiedDiffUtils.processLinesInPrevChunk(List<String[]> rawChunk, Patch<String> patch, int old_ln, int new_ln) static <T> List<T> Unpatch the revised text for a given patch -
Uses of Patch in com.github.difflib.patch
Methods in com.github.difflib.patch that return PatchModifier and TypeMethodDescriptionstatic <T> Patch<T> static <T> Patch<T> Patch.withConflictOutput(ConflictOutput<T> conflictOutput) Alter normal conflict output behaviour to e.g. -
Uses of Patch in com.github.difflib.text
Methods in com.github.difflib.text with parameters of type Patch -
Uses of Patch in com.github.difflib.unifieddiff
Fields in com.github.difflib.unifieddiff declared as PatchMethods in com.github.difflib.unifieddiff that return PatchMethods in com.github.difflib.unifieddiff with parameters of type Patch