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.TYPE
DATE_DEFAULT
Constructor and Description |
---|
DiffInfo(Resource c,
DiffInfo.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.
|
getContent, getDiffOutput, getType, getVersionedResource
public DiffInfo(Resource c, DiffInfo.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. All Rights Reserved