thredds.catalog
Class DatasetFilter.ByServiceType
java.lang.Object
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.
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 |
DatasetFilter.ByServiceType
public DatasetFilter.ByServiceType(ServiceType type)
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.