Package com.day.cq.wcm.foundation
Class DiffInfo
java.lang.Object
com.day.cq.commons.DiffInfo
com.day.cq.wcm.foundation.DiffInfo
Deprecated.
The
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.- Since:
- 5.2
-
Nested Class Summary
Nested classes/interfaces inherited from class com.day.cq.commons.DiffInfo
DiffInfo.TYPE -
Field Summary
Fields inherited from class com.day.cq.commons.DiffInfo
DATE_DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetDiffOutput(DiffService service, DiffInfo diffInfo, String origText, boolean isRichText, String diffText) Deprecated.Helper method to generate the diff output.Methods inherited from class com.day.cq.commons.DiffInfo
getContent, getDiffOutput, getType, getVersionedResource
-
Constructor Details
-
DiffInfo
Deprecated.
-
-
Method Details
-
getDiffOutput
public static String getDiffOutput(DiffService service, DiffInfo diffInfo, String origText, boolean isRichText, String diffText) Deprecated.Helper method to generate the diff output.- Parameters:
service- The diff service.diffInfo- The diff info.origText- The original text.isRichText- Is this rich text?diffText- The diff text.- Returns:
- The complete output or null.
-
DiffInfoinstead.