| Constructor and Description |
|---|
DaisyHtmlDiffer(Transformer transformer,
List<DiffPostProcessor> postProcessors,
com.atlassian.vcache.VCacheFactory cacheFactory,
LocaleManager localeManager) |
| Modifier and Type | Method and Description |
|---|---|
String |
diff(ContentEntityObject leftContent,
ContentEntityObject rightContent)
Computes a diff between the specified left and right input.
|
String |
diff(String leftHtml,
String rightHtml,
org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Diff two pieces of XHTML content.
|
String |
diff(String leftHtml,
String rightHtml,
org.eclipse.core.runtime.IProgressMonitor progressMonitor,
boolean useOldAlgorithm)
Diff two pieces of XHTML content.
|
public DaisyHtmlDiffer(Transformer transformer, List<DiffPostProcessor> postProcessors, com.atlassian.vcache.VCacheFactory cacheFactory, LocaleManager localeManager)
public String diff(ContentEntityObject leftContent, ContentEntityObject rightContent)
Differpublic String diff(String leftHtml, String rightHtml, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
leftHtml - the left HTML contentrightHtml - the right HTML contentprogressMonitor - progress monitor to monitor timeout, etcpublic String diff(String leftHtml, String rightHtml, org.eclipse.core.runtime.IProgressMonitor progressMonitor, boolean useOldAlgorithm)
leftHtml - the left HTML contentrightHtml - the right HTML contentprogressMonitor - progress monitor to monitor timeout, etcuseOldAlgorithm - if true, diff will use the old non-greedy algorithm, which can result in OOM issues for large diffsCopyright © 2003–2022 Atlassian. All rights reserved.