Here you can find the source of htmlDecoder(String content)
public static String htmlDecoder(String content)
//package com.java2s; //License from project: Apache License public class Main { public static String htmlDecoder(String content) { if (content == null) { return ""; }/*from w ww.j a v a 2s . co m*/ content = content.replaceAll("<br>", ""); content = content.replaceAll("\n", ""); content = content.replaceAll("\r", ""); content = content.replaceAll("<", ""); content = content.replaceAll(">", ""); return content; } }