public class DepthFilter extends Object implements org.dice_research.squirrel.data.uri.filter.UriFilter
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOGGER |
private int |
max_depth
The maximum depth allowed for the filter
|
Constructor and Description |
---|
DepthFilter(int max_depth) |
Modifier and Type | Method and Description |
---|---|
void |
add(org.dice_research.squirrel.data.uri.CrawleableUri uri) |
boolean |
isUriGood(org.dice_research.squirrel.data.uri.CrawleableUri uri) |
private static final org.slf4j.Logger LOGGER
private int max_depth
public boolean isUriGood(org.dice_research.squirrel.data.uri.CrawleableUri uri)
isUriGood
in interface org.dice_research.squirrel.data.uri.filter.UriFilter
public void add(org.dice_research.squirrel.data.uri.CrawleableUri uri)
add
in interface org.dice_research.squirrel.data.uri.filter.UriFilter
Copyright © 2017–2020. All rights reserved.