public class ExtractorFactory extends AbstractExtractorFactory
| Constructor and Description |
|---|
ExtractorFactory() |
| Modifier and Type | Method and Description |
|---|---|
ContentExtractor |
getContentExtractor(ExtractRule contentRule)
根据内容提取规则生成内容提取器
|
LinkExtractor |
getLinkExtractor()
生成链接提取器
|
public LinkExtractor getLinkExtractor()
getLinkExtractor in class AbstractExtractorFactoryregex - 链接的提取规则,正则表达式public ContentExtractor getContentExtractor(ExtractRule contentRule)
getContentExtractor in class AbstractExtractorFactorycontentRule - 内容提取规则Copyright © 2020 Pivotal Software, Inc.. All rights reserved.