public class Composite extends Object implements MFileFilter
Constructor and Description |
---|
Composite() |
Composite(List<MFileFilter> filters) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(MFile mfile)
Tests if a specified MFile should be included in a file collection.
|
void |
addFilter(MFileFilter filter) |
public Composite()
public Composite(List<MFileFilter> filters)
public void addFilter(MFileFilter filter)
public boolean accept(MFile mfile)
MFileFilter
accept
in interface MFileFilter
mfile
- the MFiletrue
if and only if the name should be
included in the file collection; false
otherwise.Copyright © 1999–2013 UCAR/Unidata. All rights reserved.