org.htmlparser.util
Class ParserUtils
java.lang.Object
org.htmlparser.util.ParserUtils
- public class ParserUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParserUtils
public ParserUtils()
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.
HTML Parser is an open source library released under LGPL.