public class HashLinkFilter extends BaseLinkFilter
Constructor and Description |
---|
HashLinkFilter(BaseLinkFilter next) |
Modifier and Type | Method and Description |
---|---|
protected String |
doFilter(BaseLinkFilter next,
String path,
String url)
将提取的链接地址转换成网络地址形式
|
doFilter
public HashLinkFilter(BaseLinkFilter next)
protected String doFilter(BaseLinkFilter next, String path, String url)
BaseLinkFilter
doFilter
in class BaseLinkFilter
next
- 下一个过滤器path
- 当前正在解析的网页的地址url
- 当前网页中提取出来的需要处理的网页地址Copyright © 2020 Pivotal Software, Inc.. All rights reserved.