程序包 | 说明 |
---|---|
org.htmlparser | |
org.htmlparser.sax | |
org.htmlparser.util |
限定符和类型 | 字段和说明 |
---|---|
static ParserFeedback |
Parser.DEVNULL
A quiet message sink.
|
static ParserFeedback |
Parser.STDOUT
A verbose message sink.
|
限定符和类型 | 方法和说明 |
---|---|
ParserFeedback |
Parser.getFeedback()
Returns the current feedback object.
|
限定符和类型 | 方法和说明 |
---|---|
void |
Parser.setFeedback(ParserFeedback fb)
Sets the feedback object used in scanning.
|
构造器和说明 |
---|
Parser(Lexer lexer,
ParserFeedback fb)
Construct a parser using the provided lexer and feedback object.
|
Parser(java.lang.String resource,
ParserFeedback feedback)
Creates a Parser object with the location of the resource (URL or file)
You would typically create a DefaultHTMLParserFeedback object and pass
it in.
|
Parser(java.net.URLConnection connection,
ParserFeedback fb)
Constructor for custom HTTP access.
|
限定符和类型 | 类和说明 |
---|---|
class |
Feedback
Mediates between the feedback mechanism of the htmlparser and an error handler.
|
限定符和类型 | 类和说明 |
---|---|
class |
DefaultParserFeedback
Default implementation of the HTMLParserFeedback interface.
|
限定符和类型 | 方法和说明 |
---|---|
static void |
FeedbackManager.setParserFeedback(ParserFeedback feedback) |
构造器和说明 |
---|
IteratorImpl(Lexer lexer,
ParserFeedback fb) |