thredds.catalog
Class DatasetFilter.ByServiceType

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

public static class DatasetFilter.ByServiceType
extends Object
implements DatasetFilter

Filter a Catalog by the access service type.


Nested Class Summary
 
Nested classes/interfaces inherited from interface 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
clone, equals, finalize, 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 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.