thredds.catalog
Class DatasetFilter.ByDataType

java.lang.Object
  extended by thredds.catalog.DatasetFilter
      extended by thredds.catalog.DatasetFilter.ByDataType
Enclosing class:
DatasetFilter

public static class DatasetFilter.ByDataType
extends DatasetFilter

Filter a Catalog by the dataset data type.


Nested Class Summary
 
Nested classes/interfaces inherited from class 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
equals, 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 class: DatasetFilter
Decision function as to whether to accept this dataset or not.

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