Uses of Class
com.github.difflib.patch.PatchFailedException
-
Packages that use PatchFailedException Package Description com.github.difflib com.github.difflib.patch com.github.difflib.unifieddiff This is the new implementation of UnifiedDiff Tools. -
-
Uses of PatchFailedException in com.github.difflib
Methods in com.github.difflib that throw PatchFailedException Modifier and Type Method Description static <T> java.util.List<T>DiffUtils. patch(java.util.List<T> original, Patch<T> patch)Patch the original text with given patch -
Uses of PatchFailedException in com.github.difflib.patch
Methods in com.github.difflib.patch that throw PatchFailedException Modifier and Type Method Description java.util.List<T>Patch. applyFuzzy(java.util.List<T> target, int maxFuzz)protected voidAbstractDelta. applyFuzzyToAt(java.util.List<T> target, int fuzz, int position)Apply patch fuzzy.protected voidChangeDelta. applyFuzzyToAt(java.util.List<T> target, int fuzz, int position)protected abstract voidAbstractDelta. applyTo(java.util.List<T> target)protected voidChangeDelta. applyTo(java.util.List<T> target)protected voidDeleteDelta. applyTo(java.util.List<T> target)protected voidEqualDelta. applyTo(java.util.List<T> target)protected voidInsertDelta. applyTo(java.util.List<T> target)java.util.List<T>Patch. applyTo(java.util.List<T> target)Apply this patch to the given targetprivate intPatch. findPositionFuzzy(Patch.PatchApplyingContext<T> ctx, AbstractDelta<T> delta)private intPatch. findPositionWithFuzz(Patch.PatchApplyingContext<T> ctx, AbstractDelta<T> delta, int fuzz)private intPatch. findPositionWithFuzzAndMoreDelta(Patch.PatchApplyingContext<T> ctx, AbstractDelta<T> delta, int fuzz, int moreDelta)voidConflictOutput. processConflict(VerifyChunk verifyChunk, AbstractDelta<T> delta, java.util.List<T> result)protected VerifyChunkAbstractDelta. verifyAntApplyTo(java.util.List<T> target)VerifyChunkChunk. verifyChunk(java.util.List<T> target)Verifies that this chunk's saved text matches the corresponding text in the given sequence.VerifyChunkChunk. verifyChunk(java.util.List<T> target, int fuzz, int position)Verifies that this chunk's saved text matches the corresponding text in the given sequence.protected VerifyChunkAbstractDelta. verifyChunkToFitTarget(java.util.List<T> target)Verify the chunk of this delta, to fit the target. -
Uses of PatchFailedException in com.github.difflib.unifieddiff
Methods in com.github.difflib.unifieddiff that throw PatchFailedException Modifier and Type Method Description java.util.List<java.lang.String>UnifiedDiff. applyPatchTo(java.util.function.Predicate<java.lang.String> findFile, java.util.List<java.lang.String> originalLines)
-