Package | Description |
---|---|
org.apache.wicket.util.diff |
The
diff package implements
the differencing engine that JRCS uses. |
Modifier and Type | Class and Description |
---|---|
class |
AddDelta
Holds an add-delta between to revisions of a text.
|
class |
ChangeDelta
Holds an change-delta between to revisions of a text.
|
class |
DeleteDelta
Holds a delete-delta between to revisions of a text.
|
Modifier and Type | Method and Description |
---|---|
Delta |
Revision.getDelta(int i)
Retrieves a delta from this revision by position.
|
static Delta |
Delta.newDelta(Chunk orig,
Chunk rev)
Returns a Delta that corresponds to the given chunks in the original and revised text
respectively.
|
Modifier and Type | Method and Description |
---|---|
void |
Revision.addDelta(Delta delta)
Adds a delta to this revision.
|
void |
Revision.insertDelta(Delta delta)
Adds a delta to the start of this revision.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.