com.atlassian.mail
Class HtmlToTextConverter
java.lang.Object
com.atlassian.mail.HtmlToTextConverter
public class HtmlToTextConverter
- extends Object
Helper class to convert arbitrary HTML documents into text. Conversion is very basic, intended
to be used to strip markup from HTML-only emails for inclusion within JIRA issue reports or
comments.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlToTextConverter
public HtmlToTextConverter()
convert
public String convert(String html)
throws IOException
- Throws:
IOException