Class DefaultCommentAvatarService

  • All Implemented Interfaces:
    ICommentAvatarService

    public class DefaultCommentAvatarService
    extends java.lang.Object
    implements ICommentAvatarService
    DefaultCommentAvatarService : implementation used when the plugin-avatar is not available. It does not display any avatar.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAvatar​(Comment comment)
      Display the avatar of the comment's author
      java.lang.String getAvatarUrl​(Comment comment)
      Display the avatar of the comment's author
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultCommentAvatarService

        public DefaultCommentAvatarService()
    • Method Detail

      • getAvatar

        public java.lang.String getAvatar​(Comment comment)
        Display the avatar of the comment's author
        Specified by:
        getAvatar in interface ICommentAvatarService
        Returns:
        The HTML code of the avatar
      • getAvatarUrl

        public java.lang.String getAvatarUrl​(Comment comment)
        Display the avatar of the comment's author
        Specified by:
        getAvatarUrl in interface ICommentAvatarService
        Returns:
        The HTML code of the avatar