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