thredds.catalog
Class InvDatasetFeatureCollection.ScanFilter

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

public static class InvDatasetFeatureCollection.ScanFilter
extends Object
implements CrawlableDatasetFilter


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

Constructor Detail

InvDatasetFeatureCollection.ScanFilter

public InvDatasetFeatureCollection.ScanFilter(Pattern p,
                                              long olderThan)
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 interface CrawlableDatasetFilter
Parameters:
dataset - the CrawlableDataset to test for inclusion.
Returns:
true if the given CrawlableDataset should be included, false otherwise.

getConfigObject

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

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


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.