public class WildcardMatchOnName extends WildcardMatchOnPath
pattern| Constructor and Description |
|---|
WildcardMatchOnName(com.google.re2j.Pattern pattern) |
WildcardMatchOnName(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.
|
toStringpublic WildcardMatchOnName(java.lang.String wildcardString)
public WildcardMatchOnName(com.google.re2j.Pattern pattern)
public boolean accept(MFile file)
MFileFilteraccept in interface MFileFilteraccept in class WildcardMatchOnPathfile - the MFiletrue if the mfile should be included in the file collection; false otherwise.