com.clickntap.tool.html
Class HTMLParser

java.lang.Object
  extended by com.clickntap.tool.html.HTMLParser

public class HTMLParser
extends Object


Constructor Summary
HTMLParser()
           
 
Method Summary
static String getText(String html)
           
static String parse(Reader r, Writer w)
           
static String parse(Reader r, Writer w, HTMLFilter filter)
           
static String parse(String html, HTMLFilter filter)
           
static String parseBody(String html, HTMLFilter filter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLParser

public HTMLParser()
Method Detail

parse

public static String parse(String html,
                           HTMLFilter filter)
                    throws Exception
Throws:
Exception

getText

public static String getText(String html)
                      throws Exception
Throws:
Exception

parseBody

public static String parseBody(String html,
                               HTMLFilter filter)
                        throws Exception
Throws:
Exception

parse

public static String parse(Reader r,
                           Writer w,
                           HTMLFilter filter)
                    throws Exception
Throws:
Exception

parse

public static String parse(Reader r,
                           Writer w)
                    throws Exception
Throws:
Exception


Copyright © 2014. All rights reserved.