javax.swing.text.html
Class HTMLEditorKit.Parser

java.lang.Object
  extended by javax.swing.text.html.HTMLEditorKit.Parser
Direct Known Subclasses:
ParserDelegator
Enclosing class:
HTMLEditorKit

public abstract static class HTMLEditorKit.Parser
extends Object

The abstract HTML parser declaration.


Constructor Summary
HTMLEditorKit.Parser()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLEditorKit.Parser

public HTMLEditorKit.Parser()
Method Detail

parse

public abstract void parse(Reader reader,
                           HTMLEditorKit.ParserCallback callback,
                           boolean ignoreCharSet)
                    throws IOException
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.
IOException