public final class DiffDriver
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DiffDriver.Render
Represents the output of a string-string diff comparison.
|
static class |
DiffDriver.TextRun
Indicates formatting of a text run for diff display purposes.
|
static class |
DiffDriver.Type |
Modifier and Type | Field and Description |
---|---|
static java.util.regex.Pattern |
DIFF_MERGEABLE_DELIMITER_PATTERN |
Modifier and Type | Method and Description |
---|---|
static DiffDriver.Render |
render(java.lang.String original,
java.lang.String revised,
boolean optimize)
Given two strings, perform a diff comparison and return a Render object.
|
public static final java.util.regex.Pattern DIFF_MERGEABLE_DELIMITER_PATTERN
public static DiffDriver.Render render(java.lang.String original, java.lang.String revised, boolean optimize)
original
- Original stringrevised
- Revised string for comparison