public class RegExpMatchOnNameFilter extends Object implements CrawlableDatasetFilter
Constructor and Description |
---|
RegExpMatchOnNameFilter(String regExpString) |
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 |
getRegExpString() |
protected Pattern pattern
public RegExpMatchOnNameFilter(String regExpString)
public Object getConfigObject()
CrawlableDatasetFilter
getConfigObject
in interface CrawlableDatasetFilter
public String getRegExpString()
public boolean accept(CrawlableDataset dataset)
CrawlableDatasetFilter
accept
in interface CrawlableDatasetFilter
dataset
- the CrawlableDataset to test for inclusion.Copyright © 1999–2014 UCAR/Unidata. All rights reserved.