# Print output for @column tags ?> AbstractMessageParser.Link - Android SDK | Android Developers

Most visited

Recently visited

AbstractMessageParser.Link

public static class AbstractMessageParser.Link
extends AbstractMessageParser.Token

java.lang.Object
   ↳ com.google.android.util.AbstractMessageParser.Token
     ↳ com.google.android.util.AbstractMessageParser.Link


Represents a link that was found in the input.

Summary

Inherited fields

Public constructors

Link(String url, String text)

Public methods

List<String> getInfo()

Get the relevant information about a token

String getURL()
boolean isHtml()

Inherited methods

Public constructors

Link

public Link (String url, 
                String text)

Parameters
url String

text String

Public methods

getInfo

public List<String> getInfo ()

Get the relevant information about a token

Returns
List<String> a list of strings representing the token, not null The first item is always a string representation of the type

getURL

public String getURL ()

Returns
String

isHtml

public boolean isHtml ()

Returns
boolean