Package | Description |
---|---|
com.github.difflib.text |
Modifier and Type | Method and Description |
---|---|
private DiffRow |
DiffRowGenerator.buildDiffRow(DiffRow.Tag type,
java.lang.String orgline,
java.lang.String newline) |
private DiffRow |
DiffRowGenerator.buildDiffRowWithoutNormalizing(DiffRow.Tag type,
java.lang.String orgline,
java.lang.String newline) |
Modifier and Type | Method and Description |
---|---|
java.util.List<DiffRow> |
DiffRowGenerator.generateDiffRows(java.util.List<java.lang.String> original,
java.util.List<java.lang.String> revised)
Get the DiffRows describing the difference between original and revised
texts using the given patch.
|
java.util.List<DiffRow> |
DiffRowGenerator.generateDiffRows(java.util.List<java.lang.String> original,
Patch<java.lang.String> patch)
Generates the DiffRows describing the difference between original and
revised texts using the given patch.
|
private java.util.List<DiffRow> |
DiffRowGenerator.generateInlineDiffs(AbstractDelta<java.lang.String> delta)
Add the inline diffs for given delta
|
Modifier and Type | Method and Description |
---|---|
private int |
DiffRowGenerator.transformDeltaIntoDiffRow(java.util.List<java.lang.String> original,
int endPos,
java.util.List<DiffRow> diffRows,
AbstractDelta<java.lang.String> delta)
Transforms one patch delta into a DiffRow object.
|