Package thredds.crawlabledataset.filter
Class RegExpMatchOnPathFilter
- java.lang.Object
-
- thredds.crawlabledataset.filter.RegExpMatchOnNameFilter
-
- thredds.crawlabledataset.filter.RegExpMatchOnPathFilter
-
- All Implemented Interfaces:
CrawlableDatasetFilter
public class RegExpMatchOnPathFilter extends RegExpMatchOnNameFilter
- Since:
- Aug 10, 2007
-
-
Field Summary
-
Fields inherited from class thredds.crawlabledataset.filter.RegExpMatchOnNameFilter
pattern
-
-
Constructor Summary
Constructors Constructor Description RegExpMatchOnPathFilter(String regExpString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(CrawlableDataset dataset)
Test whether the specified CrawlableDataset should be included in a list of CrawlableDatasets.-
Methods inherited from class thredds.crawlabledataset.filter.RegExpMatchOnNameFilter
getConfigObject, getRegExpString
-
-
-
-
Constructor Detail
-
RegExpMatchOnPathFilter
public RegExpMatchOnPathFilter(String regExpString)
-
-
Method Detail
-
accept
public boolean accept(CrawlableDataset dataset)
Description copied from interface:CrawlableDatasetFilter
Test whether the specified CrawlableDataset should be included in a list of CrawlableDatasets.- Specified by:
accept
in interfaceCrawlableDatasetFilter
- Overrides:
accept
in classRegExpMatchOnNameFilter
- Parameters:
dataset
- the CrawlableDataset to test for inclusion.- Returns:
- true if the given CrawlableDataset should be included, false otherwise.
-
-