Class LinkElement

    • Method Detail

      • link

        public static LinkElement link​(String link,
                                       String text)
        Creates a link with a given url and description.
        Parameters:
        link - address that this link should point to
        text - a description for that link, that should be used in text
        Returns:
        link representation
      • link

        public static LinkElement link​(String link)
        Creates a link with a given url. This url will be used as a description for that link.
        Parameters:
        link - address that this link should point to
        Returns:
        link representation
      • getLink

        public String getLink()
      • getText

        public String getText()
      • format

        public void format​(Formatter formatter)