Uses of Class
com.github.difflib.patch.Patch
-
Packages that use Patch Package Description com.github.difflib com.github.difflib.patch com.github.difflib.text com.github.difflib.unifieddiff This is the new implementation of UnifiedDiff Tools. -
-
Uses of Patch in com.github.difflib
Methods in com.github.difflib that return Patch Modifier and Type Method Description static Patch<String>DiffUtils. diff(String sourceText, String targetText, DiffAlgorithmListener progress)Computes the difference between the original and revised text.static <T> Patch<T>DiffUtils. diff(List<T> original, List<T> revised)static <T> Patch<T>DiffUtils. diff(List<T> original, List<T> revised, boolean includeEqualParts)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 algorithmstatic Patch<String>DiffUtils. diffInline(String original, String revised)Computes the difference between the given texts inline.static Patch<String>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 Patch Modifier and Type Method Description static List<String>UnifiedDiffUtils. 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>DiffUtils. patch(List<T> original, Patch<T> patch)Patch the original text with given patchstatic <T> List<T>DiffUtils. unpatch(List<T> revised, Patch<T> patch)Unpatch the revised text for a given patch -
Uses of Patch in com.github.difflib.patch
Methods in com.github.difflib.patch that return Patch Modifier and Type Method Description static <T> Patch<T>Patch. generate(List<T> original, List<T> revised, List<Change> changes)static <T> Patch<T>Patch. generate(List<T> original, List<T> revised, List<Change> _changes, boolean includeEquals)PatchPatch. 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 Modifier and Type Method Description List<DiffRow>DiffRowGenerator. generateDiffRows(List<String> original, Patch<String> patch)Generates the DiffRows describing the difference between original and revised texts using the given patch. -
Uses of Patch in com.github.difflib.unifieddiff
Methods in com.github.difflib.unifieddiff that return Patch Modifier and Type Method Description Patch<String>UnifiedDiffFile. getPatch()Methods in com.github.difflib.unifieddiff with parameters of type Patch Modifier and Type Method Description static UnifiedDiffFileUnifiedDiffFile. from(String fromFile, String toFile, Patch<String> patch)
-