public class RegExpMatchOnName extends java.lang.Object implements MFileFilter
Constructor and Description |
---|
RegExpMatchOnName(java.lang.String regExpString) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(MFile file)
Tests if a specified MFile should be included in a file collection.
|
java.lang.String |
toString() |
public boolean accept(MFile file)
MFileFilter
accept
in interface MFileFilter
file
- the MFiletrue
if and only if the mfile should be
included in the file collection; false
otherwise.public java.lang.String toString()
toString
in class java.lang.Object