IT. Expert System.

Android Reference

Html


android.text

Class Html



  • public class Html
    extends Object
    This class processes HTML strings into displayable styled text. Not all HTML tags are supported.
    • Method Detail

      • fromHtml

        public static Spanned fromHtml(String source)
        Returns displayable styled text from the provided HTML string. Any <img> tags in the HTML will display as a generic replacement image which your program can then go through and replace with real images.

        This uses TagSoup to handle real HTML, including all of the brokenness found in the wild.

      • fromHtml

        public static Spanned fromHtml(String source,
                       Html.ImageGetter imageGetter,
                       Html.TagHandler tagHandler)
        Returns displayable styled text from the provided HTML string. Any <img> tags in the HTML will use the specified ImageGetter to request a representation of the image (use null if you don't want this) and the specified TagHandler to handle unknown tags (specify null if you don't want this).

        This uses TagSoup to handle real HTML, including all of the brokenness found in the wild.

      • toHtml

        public static String toHtml(Spanned text)
        Returns an HTML representation of the provided Spanned text.
      • escapeHtml

        public static String escapeHtml(CharSequence text)
        Returns an HTML escaped representation of the given plain text.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 186 / 158777709. Delta: 0.08981 с