thredds.inventory.filter
Class Composite
java.lang.Object
thredds.inventory.filter.Composite
- All Implemented Interfaces:
- MFileFilter
public class Composite
- extends Object
- implements MFileFilter
Composite of MFileFilter, all must be true.
- Since:
- Jul 8, 2009
- Author:
- caron
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Composite
public Composite()
Composite
public Composite(List<MFileFilter> filters)
addFilter
public void addFilter(MFileFilter filter)
accept
public boolean accept(MFile mfile)
- Description copied from interface:
MFileFilter
- Tests if a specified MFile should be included in a file collection.
- Specified by:
accept
in interface MFileFilter
- Parameters:
mfile
- the MFile
- Returns:
true
if and only if the name should be
included in the file collection; false
otherwise.
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.