public class WildcardMatchOnPath extends java.lang.Object implements MFileFilter
Modifier and Type | Field and Description |
---|---|
protected com.google.re2j.Pattern |
pattern |
Constructor and Description |
---|
WildcardMatchOnPath(java.lang.String wildcardString) |
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 the mfile should be included in the file collection; false
otherwise.public java.lang.String toString()
toString
in class java.lang.Object