HTML Parser Home Page

org.htmlparser.util
Class ParserUtils

java.lang.Object
  extended byorg.htmlparser.util.ParserUtils

public class ParserUtils
extends Object


Constructor Summary
ParserUtils()
           
 
Method Summary
static Node[] findTypeInNode(Node node, Class type)
          Search given node and pick up any objects of given type.
static String removeChars(String s, char occur)
           
static String removeEscapeCharacters(String inputString)
           
static String removeTrailingBlanks(String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserUtils

public ParserUtils()
Method Detail

removeChars

public static String removeChars(String s,
                                 char occur)

removeEscapeCharacters

public static String removeEscapeCharacters(String inputString)

removeTrailingBlanks

public static String removeTrailingBlanks(String text)

findTypeInNode

public static Node[] findTypeInNode(Node node,
                                    Class type)
Search given node and pick up any objects of given type.

Parameters:
node - The node to search.
type - The class to search for.
Returns:
A node array with the matching nodes.

© 2004 Somik Raha
Mar 14, 2004

HTML Parser is an open source library released under LGPL.
SourceForge.net