Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public static final class Linkify.Link
- Object
- Linkify.Link
A link found in a text.
Methods
public int getStart() | Where the link starts in the text. |
public int getEnd() | Where the link ends in the text, exclusive. |
public int getType() | URL, EMAIL or PHONE. |
public String getText() | The link as written in the text. |
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. |
public void open() | Opens the link with Display.execute. |
Inherited methods
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.