public class WildcardMatchOnName extends WildcardMatchOnPath
pattern, wildcardString| Constructor and Description |
|---|
WildcardMatchOnName(Pattern pattern) |
WildcardMatchOnName(String wildcardString) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(MFile file)
Tests if a specified MFile should be included in a file collection.
|
static void |
main(String[] args) |
toStringpublic WildcardMatchOnName(String wildcardString)
public WildcardMatchOnName(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.public static void main(String[] args)