Class DaisyHtmlDiffer

java.lang.Object
com.atlassian.confluence.diff.DaisyHtmlDiffer
All Implemented Interfaces:
Differ

public class DaisyHtmlDiffer extends Object implements Differ
Daisy HTML diff implementation.
  • Method Details

    • diff

      public String diff(ContentEntityObject leftContent, ContentEntityObject rightContent)
      Description copied from interface: Differ
      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.
      Specified by:
      diff in interface Differ
      Parameters:
      leftContent - left input
      rightContent - right input
      Returns:
      a diff