com.openexchange.mail.text.parser
Class HTMLParser

java.lang.Object
  extended by com.openexchange.mail.text.parser.HTMLParser

public final class HTMLParser
extends java.lang.Object

HTMLParser - Parses a well-formed HTML document based on XmlPullParser. The corresponding events are delegated to a given instance of HTMLHandler.

Author:
Thorben Betten

Method Summary
static void parse(java.lang.String html, HTMLHandler handler)
          Parses specified well-formed HTML document and delegates events to given instance of HTMLHandler
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parse

public static void parse(java.lang.String html,
                         HTMLHandler handler)
Parses specified well-formed HTML document and delegates events to given instance of HTMLHandler

Parameters:
html - The well-formed HTML document
handler - The HTML handler