Class HyperLink


  • public class HyperLink
    extends Object
    • Constructor Detail

      • HyperLink

        public HyperLink​(String linkStr)
      • HyperLink

        public HyperLink​(String linkStr,
                         String displayStr)
        Default Constructor By default, the HyperLink will be marked as an external
        Parameters:
        linkStr - external link for which the hyperlink will lead to
        displayStr - string which will displayed in hyperlink cell
    • Method Detail

      • external

        public static HyperLink external​(String linkStr,
                                         String displayStr)
        Static factory method which allows to create external HyperLink
        Parameters:
        linkStr - external link for which the hyperlink will lead to
        displayStr - string which will displayed in hyperlink cell
        Returns:
        External HyperLink
      • internal

        public static HyperLink internal​(String linkStr,
                                         String displayStr)
        Static factory method which allows to create internal HyperLink
        Parameters:
        linkStr - link for which the hyperlink will lead to
        displayStr - string which will displayed in hyperlink cell
        Returns:
        Internal HyperLink
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getDisplayStr

        public String getDisplayStr()
      • getLinkStr

        public String getLinkStr()