Java android.text Html fields, constructors, methods, implement or subclass

Example usage for Java android.text Html fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.text Html.

The text is from its open source code.

Field

intFROM_HTML_MODE_LEGACY
Flags for #fromHtml(String,int,ImageGetter,TagHandler) : Separate block-level elements with blank lines (two newline characters) in between.
intFROM_HTML_MODE_COMPACT
Flags for #fromHtml(String,int,ImageGetter,TagHandler) : Separate block-level elements with line breaks (single newline character) in between.

Method

StringescapeHtml(CharSequence text)
Returns an HTML escaped representation of the given plain text.
SpannedfromHtml(String source)
Returns displayable styled text from the provided HTML string with the legacy flags #FROM_HTML_MODE_LEGACY .
SpannedfromHtml(String source, int flags)
Returns displayable styled text from the provided HTML string.
SpannedfromHtml(String source, ImageGetter imageGetter, TagHandler tagHandler)
Returns displayable styled text from the provided HTML string with the legacy flags #FROM_HTML_MODE_LEGACY .
StringtoHtml(Spanned text)