| Package | Description |
|---|---|
| org.apache.commons.jrcs.diff |
The
diff package implements
the differencing engine that JRCS uses. |
| Modifier and Type | Field and Description |
|---|---|
protected Chunk |
Delta.original |
protected Chunk |
Delta.revised |
| Modifier and Type | Method and Description |
|---|---|
Chunk |
Delta.getOriginal()
Accessor method to return the chunk representing the original sequence of
items
|
Chunk |
Delta.getRevised()
Accessor method to return the chunk representing the updated sequence of
items.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Delta.init(Chunk orig,
Chunk rev)
Initializaes the delta with the given chunks from the original and
revised texts.
|
static Delta |
Delta.newDelta(Chunk orig,
Chunk rev)
Returns a Delta that corresponds to the given chunks in the original and
revised text respectively.
|
| Constructor and Description |
|---|
AddDelta(int origpos,
Chunk rev) |
ChangeDelta(Chunk orig,
Chunk rev) |
DeleteDelta(Chunk orig) |
Delta(Chunk orig,
Chunk rev)
Creates a delta object with the given chunks from the original and
revised texts.
|
Copyright © 2003–2021 Sakai Project. All rights reserved.