src/it/finsiel/siged/util/HtmlParser.java
public static String htmlToText(String html) {
        // stripHtmlTags called with true ~ p & br => newlines
        String text = removeComments(html);
        text = stripHtmlTags(text);

        return restoreSpecialCharacters(text);
    }
/**
     * Strips html tags. and replaces special entities with their "normal"
     * counter parts, e.g. <code>&gt; => ></code>.<br>
     * Calling this method is the same as calling first stripHtmlTags and then
     * restoreSpecialCharacters.
     * 
     * @param html
     *            input string
     * @return output without html tags and special entities (null on error)
     */
Strips html tags. and replaces special entities with their "normal"
counter parts, e.g. > => >.
Calling this method is the same as calling first stripHtmlTags and then
restoreSpecialCharacters.

@param html
input string
@return output without html tags and special entities (null on error)
Strips html tags . and replaces special entities with their " normal " counter parts e . g . > = > > . Calling this method is the same as calling first stripHtmlTags and then restoreSpecialCharacters . @param html input string @return output without html tags and special entities ( null on error )
public static String htmlToText(String html) {
        String text = removeComments(html);
        text = stripHtmlTags(text);
        return restoreSpecialCharacters(text);
    }
public static String htmlToText ( String html ) { String text = removeComments ( html ) ; text = stripHtmlTags ( text ) ; return restoreSpecialCharacters ( text ) ; }
Strips html tags.
Strips html tags .
// stripHtmlTags called with true ~ p & br => newlines