public class WildcardMatchOnNameFilter extends Object implements CrawlableDatasetFilter
Modifier and Type | Field and Description |
---|---|
protected Pattern |
pattern |
protected String |
wildcardString |
Constructor and Description |
---|
WildcardMatchOnNameFilter(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.
|
Object |
getConfigObject()
Return the configuration object.
|
String |
getWildcardString() |
public WildcardMatchOnNameFilter(String wildcardString)
public Object getConfigObject()
CrawlableDatasetFilter
getConfigObject
in interface CrawlableDatasetFilter
public String getWildcardString()
public boolean accept(CrawlableDataset dataset)
CrawlableDatasetFilter
accept
in interface CrawlableDatasetFilter
dataset
- the CrawlableDataset to test for inclusion.Copyright © 1999–2017 UCAR/Unidata. All rights reserved.