Package com.atlassian.confluence.diff
Interface Differ
-
- All Known Implementing Classes:
DaisyHtmlDiffer
,WikiConvertingHtmlDiffer
public interface Differ
Computes a diff between the specified left and right input.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
diff(ContentEntityObject left, ContentEntityObject right)
Computes a diff between the specified left and right input.
-
-
-
Method Detail
-
diff
String diff(ContentEntityObject left, ContentEntityObject right)
Computes a diff between the specified left and right input.
The html output will contain span tags with class="diff-html-added|diff-html-removed|diff-html-changed" to indicate differences.- Parameters:
left
- left inputright
- right input- Returns:
- a diff
- Throws:
DiffException
- if there is an error computing the diff
-
-