Package | Description |
---|---|
com.github.difflib | |
com.github.difflib.patch | |
com.github.difflib.unifieddiff |
This is the new implementation of UnifiedDiff Tools.
|
Modifier and Type | Method and Description |
---|---|
static <T> List<T> |
DiffUtils.patch(List<T> original,
Patch<T> patch)
Patch the original text with given patch
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractDelta.applyTo(List<T> target) |
protected void |
ChangeDelta.applyTo(List<T> target) |
protected void |
DeleteDelta.applyTo(List<T> target) |
protected void |
EqualDelta.applyTo(List<T> target) |
protected void |
InsertDelta.applyTo(List<T> target) |
List<T> |
Patch.applyTo(List<T> target)
Apply this patch to the given target
|
void |
ConflictOutput.processConflict(VerifyChunk verifyChunk,
AbstractDelta<T> delta,
List<T> result) |
protected VerifyChunk |
AbstractDelta.verifyAntApplyTo(List<T> target) |
VerifyChunk |
Chunk.verifyChunk(List<T> target)
Verifies that this chunk's saved text matches the corresponding text in
the given sequence.
|
protected VerifyChunk |
AbstractDelta.verifyChunkToFitTarget(List<T> target)
Verify the chunk of this delta, to fit the target.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
UnifiedDiff.applyPatchTo(Predicate<String> findFile,
List<String> originalLines) |
Copyright © 2009–2021 java-diff-utils. All rights reserved.