thredds.catalog
Class DatasetFilter.ByServiceType

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

public static class DatasetFilter.ByServiceType
extends DatasetFilter

Filter a Catalog by the access service type.


Nested Class Summary
 
Nested classes/interfaces inherited from class thredds.catalog.DatasetFilter
DatasetFilter.ByDataType, DatasetFilter.ByServiceType
 
Constructor Summary
DatasetFilter.ByServiceType(ServiceType 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.ByServiceType

public DatasetFilter.ByServiceType(ServiceType 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.