Java HTML Parse Jsoup unescapeHtml(String str)

Here you can find the source of unescapeHtml(String str)

Description

unescape Html

License

Open Source License

Declaration

public static String unescapeHtml(String str) 

Method Source Code

//package com.java2s;
/*******************************************************************************
 * Copyright (c) 2014,2015 Hideki Yatomi
 * All rights reserved. This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License v1.0 which
 * accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 ******************************************************************************/

import org.jsoup.parser.*;

public class Main {
    public static String unescapeHtml(String str) {
        return Parser.unescapeEntities(str, false);
    }//from  w  ww  . ja v  a2s  . c  o m
}

Related

  1. sanitizeHTML(String html)
  2. stripHTML(final String value)
  3. stripHtml(String html)
  4. tidyHtml(String html)
  5. truncateHTML(String content, int len)