W3cubDocs

/OpenJDK 8 GUI

Class HTMLEditorKit.Parser

Direct Known Subclasses:
ParserDelegator
Enclosing class:
HTMLEditorKit
public abstract static class HTMLEditorKit.Parser
extends Object

Interface to be supported by the parser. This enables providing a different parser while reusing some of the implementation provided by this editor kit.

Constructors

Parser

public Parser()

Methods

parse

public abstract void parse(Reader r,
                           HTMLEditorKit.ParserCallback cb,
                           boolean ignoreCharSet)
                    throws IOException

Parse the given stream and drive the given callback with the results of the parse. This method should be implemented to be thread-safe.

Throws:
IOException

© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.