Class Linkify.Link

java.lang.Object
com.codename1.util.Linkify.Link
Enclosing class:
Linkify

public static final class Linkify.Link extends Object
A link found in a text.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Where the link ends in the text, exclusive.
    int
    Where the link starts in the text.
    The link as written in the text.
    int
    URL, EMAIL or PHONE.
    The link as a URI Display.execute opens: the address with https:// added when it has no scheme, mailto: before an email and tel: before the digits of a phone number.
    void
    Opens the link with Display.execute.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getStart

      public int getStart()
      Where the link starts in the text.
    • getEnd

      public int getEnd()
      Where the link ends in the text, exclusive.
    • getType

      public int getType()
      URL, EMAIL or PHONE.
    • getText

      public String getText()
      The link as written in the text.
    • getUri

      public String getUri()
      The link as a URI Display.execute opens: the address with https:// added when it has no scheme, mailto: before an email and tel: before the digits of a phone number.
    • open

      public void open()
      Opens the link with Display.execute.