Package | Description |
---|---|
com.github.difflib.patch |
Modifier and Type | Class and Description |
---|---|
class |
ChangeDelta<T>
Describes the change-delta between original and revised texts.
|
class |
DeleteDelta<T>
Describes the delete-delta between original and revised texts.
|
class |
EqualDelta<T>
This delta contains equal lines of data.
|
class |
InsertDelta<T>
Describes the add-delta between original and revised texts.
|
Modifier and Type | Method and Description |
---|---|
abstract AbstractDelta<T> |
AbstractDelta.withChunks(Chunk<T> original,
Chunk<T> revised)
Create a new delta of the actual instance with customized chunk data.
|
AbstractDelta<T> |
ChangeDelta.withChunks(Chunk<T> original,
Chunk<T> revised) |
AbstractDelta<T> |
DeleteDelta.withChunks(Chunk<T> original,
Chunk<T> revised) |
AbstractDelta<T> |
EqualDelta.withChunks(Chunk<T> original,
Chunk<T> revised) |
AbstractDelta<T> |
InsertDelta.withChunks(Chunk<T> original,
Chunk<T> revised) |
Modifier and Type | Method and Description |
---|---|
List<AbstractDelta<T>> |
Patch.getDeltas()
Get the list of computed deltas
|
Modifier and Type | Method and Description |
---|---|
void |
Patch.addDelta(AbstractDelta<T> delta)
Add the given delta to this patch
|
Copyright © 2009–2020 java-diff-utils. All rights reserved.