public class WildcardMatchOnPath extends Object implements MFileFilter
| Modifier and Type | Field and Description |
|---|---|
protected Pattern |
pattern |
protected String |
wildcardString |
| Constructor and Description |
|---|
WildcardMatchOnPath(Pattern pattern) |
WildcardMatchOnPath(String wildcardString) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(MFile file)
Tests if a specified MFile should be included in a file collection.
|
String |
toString() |
public WildcardMatchOnPath(String wildcardString)
public WildcardMatchOnPath(Pattern pattern)
public boolean accept(MFile file)
MFileFilteraccept in interface MFileFilterfile - the MFiletrue if the mfile should be included in the file collection; false otherwise.