thredds.catalog
Class InvDatasetFeatureCollection.ScanFilter

java.lang.Object
  extended by thredds.catalog.InvDatasetFeatureCollection.ScanFilter
All Implemented Interfaces:
thredds.crawlabledataset.CrawlableDatasetFilter
Enclosing class:
InvDatasetFeatureCollection

public static class InvDatasetFeatureCollection.ScanFilter
extends java.lang.Object
implements thredds.crawlabledataset.CrawlableDatasetFilter


Constructor Summary
InvDatasetFeatureCollection.ScanFilter(java.util.regex.Pattern p, long olderThan)
           
 
Method Summary
 boolean accept(thredds.crawlabledataset.CrawlableDataset dataset)
          Test whether the specified CrawlableDataset should be included in a list of CrawlableDatasets.
 java.lang.Object getConfigObject()
          Return the configuration object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvDatasetFeatureCollection.ScanFilter

public InvDatasetFeatureCollection.ScanFilter(java.util.regex.Pattern p,
                                              long olderThan)
Method Detail

accept

public boolean accept(thredds.crawlabledataset.CrawlableDataset dataset)
Description copied from interface: thredds.crawlabledataset.CrawlableDatasetFilter
Test whether the specified CrawlableDataset should be included in a list of CrawlableDatasets.

Specified by:
accept in interface thredds.crawlabledataset.CrawlableDatasetFilter
Parameters:
dataset - the CrawlableDataset to test for inclusion.
Returns:
true if the given CrawlableDataset should be included, false otherwise.

getConfigObject

public java.lang.Object getConfigObject()
Description copied from interface: thredds.crawlabledataset.CrawlableDatasetFilter
Return the configuration object.

Specified by:
getConfigObject in interface thredds.crawlabledataset.CrawlableDatasetFilter
Returns:
the configuration Object (may be null).