DiffInfo instead.public class DiffInfo extends 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.DiffInfo.TYPEDATE_DEFAULT| Constructor and Description |
|---|
DiffInfo(Resource c,
DiffInfo.TYPE l)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getDiffOutput(DiffService service,
DiffInfo diffInfo,
String origText,
boolean isRichText,
String diffText)
Deprecated.
Helper method to generate the diff output.
|
getContent, getDiffOutput, getType, getVersionedResourcepublic DiffInfo(Resource c, DiffInfo.TYPE l)
public static String getDiffOutput(DiffService service, DiffInfo diffInfo, String origText, boolean isRichText, 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. All Rights Reserved