All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----jp.kyasu.sgml.SGMLParser | +----jp.kyasu.sgml.HTMLParser
HTMLParser
parses the HTML 3.2 document
(<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
)
and delivers the sgml events to the listeners
(SGMLParserListener
s).
For example:
Reader reader = new BufferedReader(new InputStreamReader(System.in)); HTMLParser parser = new HTMLParser(); parser.addSGMLParserListener(new SGMLParserListener(){}); try { parser.parse(reader); } catch (IOException e) {}
public HTMLParser()
public HTMLParser(DTD dtd)
public static synchronized DTD getHtmlDTD()
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index