Package | Description |
---|---|
com.github.difflib | |
com.github.difflib.patch | |
com.github.difflib.unifieddiff |
This is the first test version of a multifile diff parser.
|
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 |
---|---|
abstract void |
AbstractDelta.applyTo(List<T> target) |
void |
ChangeDelta.applyTo(List<T> target) |
void |
DeleteDelta.applyTo(List<T> target) |
void |
EqualDelta.applyTo(List<T> target) |
void |
InsertDelta.applyTo(List<T> target) |
List<T> |
Patch.applyTo(List<T> target)
Apply this patch to the given target
|
void |
Chunk.verify(List<T> target)
Verifies that this chunk's saved text matches the corresponding text in the given sequence.
|
protected void |
AbstractDelta.verifyChunk(List<T> target)
Verify the chunk of this delta, to fit the target.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
UnifiedDiff.spplyPatchTo(Predicate<String> findFile,
List<String> originalLines) |
Copyright © 2009–2020 java-diff-utils. All rights reserved.