Here you can find the source of unescapeHtml(String s)
public static String unescapeHtml(String s)
//package com.java2s; //License from project: Open Source License public class Main { public static String unescapeHtml(String s) { if (s == null || s.indexOf('&') == -1) return s; s = s.replace("<", "<"); s = s.replace(">", ">"); s = s.replace(""", "\""); s = s.replace("'", "'"); s = s.replace("&", "&"); return s; }/* w w w . j a va2 s . c o m*/ }