| Home >> All >> org >> htmlparser >> [ util Javadoc ] |
org.htmlparser.util: Javadoc index of package org.htmlparser.util.
Package Samples:
org.htmlparser.util
Classes:
CommandLine: Simple command like parser/handler. A dashed argument is one preceded by a dash character. In a sequence of arguments: 1) If a dashed argument starts with a command character the rest of the argument, if any, is assume to be a value. 2) If a dashed argument is followed by a non-dashed argument value. The value is assumed to be associated with the preceding dashed argument name. 2) If an argument with a dash prefix is not followed by a non-dashed value, and does not use a command character, it is assumed to be a flag. 3) If none of the above is true, the argument is a name. Command characters can ...
Generate: Create a character reference translation class source file. Usage: java -classpath .:lib/htmlparser.jar Generate > Translate.java Derived from HTMLStringFilter.java provided as an example with the htmlparser.jar file available at htmlparser.sourceforge.net written by Somik Raha ( somik@industriallogic. com http://industriallogic.com ).
Translate: Translate numeric character references and character entity references to unicode characters. Based on tables found at http://www.w3.org/TR/REC-html40/sgml/entities.html Note: Do not edit! This class is created by the Generate class. Typical usage: String s = Translate.decode(getTextFromHtmlPage());
ParserFeedback: Interface for providing feedback without forcing the output destination to be predefined. A default implementation is provided to output events to the console but alternate implementations that log, watch for specific messages, etc. are also possible.
SimpleNodeIterator: The HTMLSimpleEnumeration interface is similar to NodeIterator, except that it does not throw exceptions. This interface is useful when using HTMLVector, to enumerate through its elements in a simple manner, without needing to do class casts for Node.
DefaultParserFeedback: Default implementation of the HTMLParserFeedback interface. This implementation prints output to the console but users can implement their own classes to support alternate behavior.
LinkProcessor: Processor class for links, is present basically as a utility class.
ParserException: Library-specific support for chained exceptions.
ChainedException
IteratorImpl
NodeIterator
NodeList
ParserUtils
PeekingIterator
| Home | Contact Us | Privacy Policy | Terms of Service |