com.day.cq.commons.DiffInfo
instead.public class DiffInfo
extends com.day.cq.commons.DiffInfo
DiffInfo
can be used by components
to display a diff to a previous version.
A component has access to the diff information by
calling Adaptable.adaptTo(Class)
with this
class as the argument.Constructor and Description |
---|
DiffInfo(Resource c,
TYPE l)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getDiffOutput(DiffService service,
DiffInfo diffInfo,
java.lang.String origText,
boolean isRichText,
java.lang.String diffText)
Deprecated.
Helper method to generate the diff output.
|
public DiffInfo(Resource c, TYPE l)
public static java.lang.String getDiffOutput(DiffService service, DiffInfo diffInfo, java.lang.String origText, boolean isRichText, java.lang.String diffText)
service
- The diff service.diffInfo
- The diff info.origText
- The original text.isRichText
- Is this rich text?diffText
- The diff text."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"