Home | History | Annotate | Download | only in changes
      1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "//www.w3.org/TR/html4/strict.dtd">
      2 <HTML style="overflow:auto;">
      3 <HEAD>
      4 <meta name="generator" content="JDiff v1.1.0">
      5 <!-- Generated by the JDiff Javadoc doclet -->
      6 <!-- (http://www.jdiff.org) -->
      7 <meta name="description" content="JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared.">
      8 <meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet">
      9 <TITLE>
     10 android.text.Html
     11 </TITLE>
     12 <link href="../../../../assets/android-developer-docs.css" rel="stylesheet" type="text/css" />
     13 <link href="../stylesheet-jdiff.css" rel="stylesheet" type="text/css" />
     14 <noscript>
     15 <style type="text/css">
     16 body{overflow:auto;}
     17 #body-content{position:relative; top:0;}
     18 #doc-content{overflow:visible;border-left:3px solid #666;}
     19 #side-nav{padding:0;}
     20 #side-nav .toggle-list ul {display:block;}
     21 #resize-packages-nav{border-bottom:3px solid #666;}
     22 </style>
     23 </noscript>
     24 <style type="text/css">
     25 </style>
     26 </HEAD>
     27 <BODY>
     28 <!-- Start of nav bar -->
     29 <a name="top"></a>
     30 <div id="header" style="margin-bottom:0;padding-bottom:0;">
     31 <div id="headerLeft">
     32 <a href="../../../../index.html" tabindex="-1" target="_top"><img src="../../../../assets/images/bg_logo.png" alt="Android Developers" /></a>
     33 </div>
     34   <div id="headerRight">
     35   <div id="headerLinks">
     36 <!-- <img src="/assets/images/icon_world.jpg" alt="" /> -->
     37 <span class="text">
     38 <!-- &nbsp;<a href="#">English</a> | -->
     39 <nobr><a href="//developer.android.com" target="_top">Android Developers</a> | <a href="//www.android.com" target="_top">Android.com</a></nobr>
     40 </span>
     41 </div>
     42   <div class="and-diff-id" style="margin-top:6px;margin-right:8px;">
     43     <table class="diffspectable">
     44       <tr>
     45         <td colspan="2" class="diffspechead">API Diff Specification</td>
     46       </tr>
     47       <tr>
     48         <td class="diffspec" style="padding-top:.25em">To Level:</td>
     49         <td class="diffvaluenew" style="padding-top:.25em">24</td>
     50       </tr>
     51       <tr>
     52         <td class="diffspec">From Level:</td>
     53         <td class="diffvalueold">23</td>
     54       </tr>
     55       <tr>
     56         <td class="diffspec">Generated</td>
     57         <td class="diffvalue">2016.06.13 13:31</td>
     58       </tr>
     59     </table>
     60     </div><!-- End and-diff-id -->
     61   <div class="and-diff-id" style="margin-right:8px;">
     62     <table class="diffspectable">
     63       <tr>
     64         <td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a>
     65       </tr>
     66     </table>
     67   </div> <!-- End and-diff-id -->
     68   </div> <!-- End headerRight -->
     69   </div> <!-- End header -->
     70 <div id="body-content" xstyle="padding:12px;padding-right:18px;">
     71 <div id="doc-content" style="position:relative;">
     72 <div id="mainBodyFluid">
     73 <H2>
     74 Class android.text.<A HREF="../../../../reference/android/text/Html.html" target="_top"><font size="+2"><code>Html</code></font></A>
     75 </H2>
     76 <a NAME="constructors"></a>
     77 <a NAME="methods"></a>
     78 <p>
     79 <a NAME="Added"></a>
     80 <TABLE summary="Added Methods" WIDTH="100%">
     81 <TR>
     82   <TH VALIGN="TOP" COLSPAN=2>Added Methods</FONT></TD>
     83 </TH>
     84 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
     85   <TD VALIGN="TOP" WIDTH="25%">
     86   <A NAME="android.text.Html.fromHtml_added(java.lang.String, int)"></A>
     87   <nobr><code>Spanned</code>&nbsp;<A HREF="../../../../reference/android/text/Html.html#fromHtml(java.lang.String, int)" target="_top"><code>fromHtml</code></A>(<code>String,</nobr> int<nobr><nobr></code>)</nobr>
     88   </TD>
     89   <TD>&nbsp;</TD>
     90 </TR>
     91 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
     92   <TD VALIGN="TOP" WIDTH="25%">
     93   <A NAME="android.text.Html.fromHtml_added(java.lang.String, int, android.text.Html.ImageGetter, android.text.Html.TagHandler)"></A>
     94   <nobr><code>Spanned</code>&nbsp;<A HREF="../../../../reference/android/text/Html.html#fromHtml(java.lang.String, int, android.text.Html.ImageGetter, android.text.Html.TagHandler)" target="_top"><code>fromHtml</code></A>(<code>String,</nobr> int<nobr>,</nobr> ImageGetter<nobr>,</nobr> TagHandler<nobr><nobr></code>)</nobr>
     95   </TD>
     96   <TD>&nbsp;</TD>
     97 </TR>
     98 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
     99   <TD VALIGN="TOP" WIDTH="25%">
    100   <A NAME="android.text.Html.toHtml_added(android.text.Spanned, int)"></A>
    101   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/text/Html.html#toHtml(android.text.Spanned, int)" target="_top"><code>toHtml</code></A>(<code>Spanned,</nobr> int<nobr><nobr></code>)</nobr>
    102   </TD>
    103   <TD>&nbsp;</TD>
    104 </TR>
    105 </TABLE>
    106 &nbsp;
    107 <p>
    108 <a NAME="Changed"></a>
    109 <TABLE summary="Changed Methods" WIDTH="100%">
    110 <TR>
    111   <TH VALIGN="TOP" COLSPAN=3>Changed Methods</FONT></TD>
    112 </TH>
    113 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    114   <TD VALIGN="TOP" WIDTH="25%">
    115   <A NAME="android.text.Html.fromHtml_changed(java.lang.String)"></A>
    116   <nobr><code>Spanned</code>&nbsp;<A HREF="../../../../reference/android/text/Html.html#fromHtml(java.lang.String)" target="_top"><code>fromHtml</code></A>(<code>String</code>)  </nobr>
    117   </TD>
    118   <TD VALIGN="TOP" WIDTH="30%">
    119 <b>Now deprecated</b>.<br>
    120   </TD>
    121   <TD>&nbsp;</TD>
    122 </TR>
    123 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    124   <TD VALIGN="TOP" WIDTH="25%">
    125   <A NAME="android.text.Html.fromHtml_changed(java.lang.String, android.text.Html.ImageGetter, android.text.Html.TagHandler)"></A>
    126   <nobr><code>Spanned</code>&nbsp;<A HREF="../../../../reference/android/text/Html.html#fromHtml(java.lang.String, android.text.Html.ImageGetter, android.text.Html.TagHandler)" target="_top"><code>fromHtml</code></A>(<code>String,</nobr> ImageGetter<nobr>,</nobr> TagHandler<nobr><nobr></code>)  </nobr>
    127   </TD>
    128   <TD VALIGN="TOP" WIDTH="30%">
    129 <b>Now deprecated</b>.<br>
    130   </TD>
    131   <TD>&nbsp;</TD>
    132 </TR>
    133 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    134   <TD VALIGN="TOP" WIDTH="25%">
    135   <A NAME="android.text.Html.toHtml_changed(android.text.Spanned)"></A>
    136   <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/text/Html.html#toHtml(android.text.Spanned)" target="_top"><code>toHtml</code></A>(<code>Spanned</code>)  </nobr>
    137   </TD>
    138   <TD VALIGN="TOP" WIDTH="30%">
    139 <b>Now deprecated</b>.<br>
    140   </TD>
    141   <TD>&nbsp;</TD>
    142 </TR>
    143 </TABLE>
    144 &nbsp;
    145 <a NAME="fields"></a>
    146 <p>
    147 <a NAME="Added"></a>
    148 <TABLE summary="Added Fields" WIDTH="100%">
    149 <TR>
    150   <TH VALIGN="TOP" COLSPAN=2>Added Fields</FONT></TD>
    151 </TH>
    152 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    153   <TD VALIGN="TOP" WIDTH="25%">
    154   <A NAME="android.text.Html.FROM_HTML_MODE_COMPACT"></A>
    155   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/text/Html.html#FROM_HTML_MODE_COMPACT" target="_top"><code>FROM_HTML_MODE_COMPACT</code></A></nobr>
    156   </TD>
    157   <TD>&nbsp;</TD>
    158 </TR>
    159 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    160   <TD VALIGN="TOP" WIDTH="25%">
    161   <A NAME="android.text.Html.FROM_HTML_MODE_LEGACY"></A>
    162   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/text/Html.html#FROM_HTML_MODE_LEGACY" target="_top"><code>FROM_HTML_MODE_LEGACY</code></A></nobr>
    163   </TD>
    164   <TD>&nbsp;</TD>
    165 </TR>
    166 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    167   <TD VALIGN="TOP" WIDTH="25%">
    168   <A NAME="android.text.Html.FROM_HTML_OPTION_USE_CSS_COLORS"></A>
    169   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/text/Html.html#FROM_HTML_OPTION_USE_CSS_COLORS" target="_top"><code>FROM_HTML_OPTION_USE_CSS_COLORS</code></A></nobr>
    170   </TD>
    171   <TD>&nbsp;</TD>
    172 </TR>
    173 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    174   <TD VALIGN="TOP" WIDTH="25%">
    175   <A NAME="android.text.Html.FROM_HTML_SEPARATOR_LINE_BREAK_BLOCKQUOTE"></A>
    176   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/text/Html.html#FROM_HTML_SEPARATOR_LINE_BREAK_BLOCKQUOTE" target="_top"><code>FROM_HTML_SEPARATOR_LINE_BREAK_BLOCKQUOTE</code></A></nobr>
    177   </TD>
    178   <TD>&nbsp;</TD>
    179 </TR>
    180 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    181   <TD VALIGN="TOP" WIDTH="25%">
    182   <A NAME="android.text.Html.FROM_HTML_SEPARATOR_LINE_BREAK_DIV"></A>
    183   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/text/Html.html#FROM_HTML_SEPARATOR_LINE_BREAK_DIV" target="_top"><code>FROM_HTML_SEPARATOR_LINE_BREAK_DIV</code></A></nobr>
    184   </TD>
    185   <TD>&nbsp;</TD>
    186 </TR>
    187 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    188   <TD VALIGN="TOP" WIDTH="25%">
    189   <A NAME="android.text.Html.FROM_HTML_SEPARATOR_LINE_BREAK_HEADING"></A>
    190   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/text/Html.html#FROM_HTML_SEPARATOR_LINE_BREAK_HEADING" target="_top"><code>FROM_HTML_SEPARATOR_LINE_BREAK_HEADING</code></A></nobr>
    191   </TD>
    192   <TD>&nbsp;</TD>
    193 </TR>
    194 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    195   <TD VALIGN="TOP" WIDTH="25%">
    196   <A NAME="android.text.Html.FROM_HTML_SEPARATOR_LINE_BREAK_LIST"></A>
    197   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/text/Html.html#FROM_HTML_SEPARATOR_LINE_BREAK_LIST" target="_top"><code>FROM_HTML_SEPARATOR_LINE_BREAK_LIST</code></A></nobr>
    198   </TD>
    199   <TD>&nbsp;</TD>
    200 </TR>
    201 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    202   <TD VALIGN="TOP" WIDTH="25%">
    203   <A NAME="android.text.Html.FROM_HTML_SEPARATOR_LINE_BREAK_LIST_ITEM"></A>
    204   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/text/Html.html#FROM_HTML_SEPARATOR_LINE_BREAK_LIST_ITEM" target="_top"><code>FROM_HTML_SEPARATOR_LINE_BREAK_LIST_ITEM</code></A></nobr>
    205   </TD>
    206   <TD>&nbsp;</TD>
    207 </TR>
    208 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    209   <TD VALIGN="TOP" WIDTH="25%">
    210   <A NAME="android.text.Html.FROM_HTML_SEPARATOR_LINE_BREAK_PARAGRAPH"></A>
    211   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/text/Html.html#FROM_HTML_SEPARATOR_LINE_BREAK_PARAGRAPH" target="_top"><code>FROM_HTML_SEPARATOR_LINE_BREAK_PARAGRAPH</code></A></nobr>
    212   </TD>
    213   <TD>&nbsp;</TD>
    214 </TR>
    215 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    216   <TD VALIGN="TOP" WIDTH="25%">
    217   <A NAME="android.text.Html.TO_HTML_PARAGRAPH_LINES_CONSECUTIVE"></A>
    218   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/text/Html.html#TO_HTML_PARAGRAPH_LINES_CONSECUTIVE" target="_top"><code>TO_HTML_PARAGRAPH_LINES_CONSECUTIVE</code></A></nobr>
    219   </TD>
    220   <TD>&nbsp;</TD>
    221 </TR>
    222 <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
    223   <TD VALIGN="TOP" WIDTH="25%">
    224   <A NAME="android.text.Html.TO_HTML_PARAGRAPH_LINES_INDIVIDUAL"></A>
    225   <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/text/Html.html#TO_HTML_PARAGRAPH_LINES_INDIVIDUAL" target="_top"><code>TO_HTML_PARAGRAPH_LINES_INDIVIDUAL</code></A></nobr>
    226   </TD>
    227   <TD>&nbsp;</TD>
    228 </TR>
    229 </TABLE>
    230 &nbsp;
    231       </div>	
    232       <div id="footer">
    233         <div id="copyright">
    234         Except as noted, this content is licensed under 
    235         <a href="//creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
    236         For details and restrictions, see the <a href="/license.html">Content License</a>.
    237         </div>
    238       <div id="footerlinks">
    239       <p>
    240         <a href="//www.android.com/terms.html">Site Terms of Service</a> -
    241         <a href="//www.android.com/privacy.html">Privacy Policy</a> -
    242         <a href="//www.android.com/branding.html">Brand Guidelines</a>
    243       </p>
    244     </div>
    245     </div> <!-- end footer -->
    246     </div><!-- end doc-content -->
    247     </div> <!-- end body-content --> 
    248 <script src="//www.google-analytics.com/ga.js" type="text/javascript">
    249 </script>
    250 <script type="text/javascript">
    251   try {
    252     var pageTracker = _gat._getTracker("UA-5831155-1");
    253     pageTracker._setAllowAnchor(true);
    254     pageTracker._initData();
    255     pageTracker._trackPageview();
    256   } catch(e) {}
    257 </script>
    258 </BODY>
    259 </HTML>
    260