Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| HTML Parser Home Page
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.htmlparser.util
Class ParserUtils

    java.lang.Object
      org.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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| © 2004 Somik Raha Mar 14, 2004
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

HTML Parser is an open source library released under LGPL.