public interface DiffService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REQUEST_PARAM_DIFF_TO
request parameter that specifies the version to diff to
|
static java.lang.String |
REQUEST_PARAM_DIFF_TYPE
request parameter that can be used to transport a diff type
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
diff(java.lang.String current,
java.lang.String original,
boolean isRichText)
Compares two texts (plain text or rich text) and generates a rich
text containing
div elements which mark added and removed
content. |
static final java.lang.String REQUEST_PARAM_DIFF_TO
static final java.lang.String REQUEST_PARAM_DIFF_TYPE
java.lang.String diff(java.lang.String current, java.lang.String original, boolean isRichText)
div
elements which mark added and removed
content.current
- the current text (right)original
- the original text (left)isRichText
- if true
the text is considered rich, i.e.
might contain HTML tags.Copyright © 2010 - 2020 Adobe. All Rights Reserved