软件包 | 描述 |
---|---|
javax.swing.text.html |
提供类
HTMLEditorKit 和创建HTML文本编辑器支持类。
|
javax.swing.text.html.parser |
提供默认的HTML解析器,以及支持类。
|
Modifier and Type | Class and Description |
---|---|
class |
HTMLDocument.HTMLReader
一个HTML阅读器加载HTML文档和HTML元素的结构。
|
Modifier and Type | Method and Description |
---|---|
HTMLEditorKit.ParserCallback |
HTMLDocument.getReader(int pos)
获取分析器使用时加载文档和HTML的读者。
|
HTMLEditorKit.ParserCallback |
HTMLDocument.getReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag)
返回解析器使用加载文档和HTML的读者。
|
Modifier and Type | Method and Description |
---|---|
abstract void |
HTMLEditorKit.Parser.parse(Reader r, HTMLEditorKit.ParserCallback cb, boolean ignoreCharSet)
解析给定的流,并驱动给定的回调与解析的结果。
|
Modifier and Type | Method and Description |
---|---|
void |
ParserDelegator.parse(Reader r, HTMLEditorKit.ParserCallback cb, boolean ignoreCharSet) |
void |
DocumentParser.parse(Reader in, HTMLEditorKit.ParserCallback callback, boolean ignoreCharSet) |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.