public class WildcardMatchOnNameFilter extends java.lang.Object implements CrawlableDatasetFilter
Modifier and Type | Field and Description |
---|---|
protected java.util.regex.Pattern |
pattern |
protected java.lang.String |
wildcardString |
Constructor and Description |
---|
WildcardMatchOnNameFilter(java.lang.String wildcardString) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(CrawlableDataset dataset)
Test whether the specified CrawlableDataset should be included
in a list of CrawlableDatasets.
|
java.lang.Object |
getConfigObject()
Return the configuration object.
|
java.lang.String |
getWildcardString() |
protected java.lang.String wildcardString
protected java.util.regex.Pattern pattern
public WildcardMatchOnNameFilter(java.lang.String wildcardString)
public java.lang.Object getConfigObject()
CrawlableDatasetFilter
getConfigObject
in interface CrawlableDatasetFilter
public java.lang.String getWildcardString()
public boolean accept(CrawlableDataset dataset)
CrawlableDatasetFilter
accept
in interface CrawlableDatasetFilter
dataset
- the CrawlableDataset to test for inclusion.