public abstract static class HTMLEditorKit.Parser extends Object
Constructor and Description |
---|
HTMLEditorKit.Parser() |
Modifier and Type | Method and Description |
---|---|
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.
|
public HTMLEditorKit.Parser()
public abstract void parse(Reader reader, HTMLEditorKit.ParserCallback callback, boolean ignoreCharSet) throws IOException
reader
- The reader to read the source HTML from.callback
- The callback to receive information about the parsed
HTML structuresignoreCharSet
- If true, the parser ignores all charset information
that may be present in HTML documents.IOException,
- normally if the reader throws one.IOException