javax.swing.text.html

Class HTMLEditorKit.Parser

public abstract static class HTMLEditorKit.Parser extends Object

The abstract HTML parser declaration.
Method Summary
abstract voidparse(Reader reader, HTMLEditorKit.ParserCallback callback, boolean ignoreCharSet)
Parse the HTML text, calling various methods of the provided callback in response to the occurence of the corresponding HTML constructions.

Method Detail

parse

public abstract void parse(Reader reader, HTMLEditorKit.ParserCallback callback, boolean ignoreCharSet)
Parse the HTML text, calling various methods of the provided callback in response to the occurence of the corresponding HTML constructions.

Parameters: reader The reader to read the source HTML from. callback The callback to receive information about the parsed HTML structures ignoreCharSet If true, the parser ignores all charset information that may be present in HTML documents.

Throws: IOException, normally if the reader throws one.