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

Most visited

Recently visited

AbstractMessageParser.Html

public static class AbstractMessageParser.Html
extends AbstractMessageParser.Token

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


Represents a simple string of html text.

Summary

Inherited fields

Public constructors

Html(String text, String html)

Public methods

List<String> getInfo()

Not supported.

boolean isHtml()
String toHtml(boolean caps)
void trimLeadingWhitespace()
void trimTrailingWhitespace()
static String trimTrailingWhitespace(String text)

Inherited methods

Public constructors

Html

public Html (String text, 
                String html)

Parameters
text String

html String

Public methods

getInfo

public List<String> getInfo ()

Not supported. Info should not be needed for this type

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

isHtml

public boolean isHtml ()

Returns
boolean

toHtml

public String toHtml (boolean caps)

Parameters
caps boolean

Returns
String

trimLeadingWhitespace

public void trimLeadingWhitespace ()

trimTrailingWhitespace

public void trimTrailingWhitespace ()

trimTrailingWhitespace

public static String trimTrailingWhitespace (String text)

Parameters
text String

Returns
String