thredds.catalog
Class DatasetFilter.ByDataType

java.lang.Object
  extended by thredds.catalog.DatasetFilter.ByDataType
All Implemented Interfaces:
DatasetFilter
Enclosing interface:
DatasetFilter

public static class DatasetFilter.ByDataType
extends Object
implements DatasetFilter

Filter a Catalog by the dataset data type.


Nested Class Summary
 
Nested classes/interfaces inherited from interface thredds.catalog.DatasetFilter
DatasetFilter.ByDataType, DatasetFilter.ByServiceType
 
Constructor Summary
DatasetFilter.ByDataType(FeatureType type)
           
 
Method Summary
 int accept(InvDataset d)
          Decision function as to whether to accept this dataset or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatasetFilter.ByDataType

public DatasetFilter.ByDataType(FeatureType type)
Method Detail

accept

public int accept(InvDataset d)
Description copied from interface: DatasetFilter
Decision function as to whether to accept this dataset or not.

Specified by:
accept in interface DatasetFilter
Parameters:
d - dataset to filter
Returns:
1 if pass, -1 if fail, 0 is dont know.


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