extract Content From Html - Android android.text

Android examples for android.text:Html

Description

extract Content From Html

Demo Code

import android.text.Html;
import android.text.TextUtils;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;

public class Main{

    public static String extractContentFromHtml(String value) {
        if (value == null) {
            return null;
        }//from ww w.j av  a2  s .c  o  m
        return (Html.fromHtml(value)).toString();
    }

}

Related Tutorials