public class SimpleContentMatcher extends Object implements ContentMatcher
Constructor and Description |
---|
SimpleContentMatcher() |
Modifier and Type | Method and Description |
---|---|
boolean |
match(PageRule pageRule,
String input)
判断网页内容是否符合匹配规则
|
public boolean match(PageRule pageRule, String input)
ContentMatcher
match
in interface ContentMatcher
pageRule
- 内容匹配规则input
- 需要匹配的原始网页内容Copyright © 2020 Pivotal Software, Inc.. All rights reserved.