public class CompositeMFileFilter extends java.lang.Object implements MFileFilter
Constructor and Description |
---|
CompositeMFileFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(MFile mfile)
Tests if a specified MFile should be included in a file collection.
|
void |
addAndFilter(MFileFilter filter) |
void |
addExcludeFilter(MFileFilter filter) |
void |
addFilter(MFileFilter filter,
boolean include) |
void |
addIncludeFilter(MFileFilter filter) |
public void addFilter(MFileFilter filter, boolean include)
public void addIncludeFilter(MFileFilter filter)
public void addExcludeFilter(MFileFilter filter)
public void addAndFilter(MFileFilter filter)
public boolean accept(MFile mfile)
MFileFilter
accept
in interface MFileFilter
mfile
- the MFiletrue
if the mfile should be included in the file collection; false
otherwise.