| Package | Description |
|---|---|
| difflib |
The
difflib package
implements general operation with diff files. |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
Patch.applyTo(List<T> target)
Apply this patch to the given target
|
void |
InsertDelta.applyTo(List<T> target)
Applies this delta as the patch for a given target
|
abstract void |
Delta.applyTo(List<T> target)
Applies this delta as the patch for a given target
|
void |
DeleteDelta.applyTo(List<T> target)
Applies this delta as the patch for a given target
|
void |
ChangeDelta.applyTo(List<T> target)
Applies this delta as the patch for a given target
|
static <T> List<T> |
DiffUtils.patch(List<T> original,
Patch<T> patch)
Patch the original text with given patch
|
void |
InsertDelta.verify(List<T> target) |
abstract void |
Delta.verify(List<T> target)
Verifies that this delta can be used to patch the given text.
|
void |
DeleteDelta.verify(List<T> target) |
void |
Chunk.verify(List<T> target)
Verifies that this chunk's saved text matches the corresponding text in
the given sequence.
|
void |
ChangeDelta.verify(List<T> target)
Verifies that this delta can be used to patch the given text.
|
Copyright © 2015. All rights reserved.