thredds.catalog
Interface DatasetFilter

All Known Implementing Classes:
DatasetFilter.ByDataType, DatasetFilter.ByServiceType

public interface DatasetFilter

Abstract class to filter datasets.

Author:
john caron
See Also:
InvCatalog.filter(thredds.catalog.DatasetFilter)

Nested Class Summary
static class DatasetFilter.ByDataType
          Filter a Catalog by the dataset data type.
static class DatasetFilter.ByServiceType
          Filter a Catalog by the access service type.
 
Method Summary
 int accept(InvDataset d)
          Decision function as to whether to accept this dataset or not.
 

Method Detail

accept

int accept(InvDataset d)
Decision function as to whether to accept this dataset or not.

Parameters:
d - dataset to filter
Returns:
1 if pass, -1 if fail, 0 is dont know.


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