com.atlassian.mail
Class HtmlToTextConverter

java.lang.Object
  extended by com.atlassian.mail.HtmlToTextConverter

public class HtmlToTextConverter
extends java.lang.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.


Constructor Summary
HtmlToTextConverter()
           
 
Method Summary
 java.lang.String convert(java.lang.String html)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlToTextConverter

public HtmlToTextConverter()
Method Detail

convert

public java.lang.String convert(java.lang.String html)
                         throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.