Class DiffInfo


  • public class DiffInfo
    extends DiffInfo
    Deprecated.
    since 5.4; use DiffInfo instead.
    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
    • Method Detail

      • getDiffOutput

        public 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.
        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.