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
- Author:
- caron
Method Summary |
boolean |
accept(CrawlableDataset dataset)
Test whether the specified CrawlableDataset should be included
in a list of CrawlableDatasets. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegExpMatchOnPathFilter
public RegExpMatchOnPathFilter(String regExpString)
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 interface CrawlableDatasetFilter
- Overrides:
accept
in class RegExpMatchOnNameFilter
- Parameters:
dataset
- the CrawlableDataset to test for inclusion.
- Returns:
- true if the given CrawlableDataset should be included, false otherwise.
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.