public class WildcardMatchOnPath extends java.lang.Object implements MFileFilter
| Modifier and Type | Field and Description |
|---|---|
protected java.util.regex.Pattern |
pattern |
protected java.lang.String |
wildcardString |
| Constructor and Description |
|---|
WildcardMatchOnPath(java.util.regex.Pattern pattern) |
WildcardMatchOnPath(java.lang.String wildcardString) |
protected java.lang.String wildcardString
protected java.util.regex.Pattern pattern
public WildcardMatchOnPath(java.lang.String wildcardString)
public WildcardMatchOnPath(java.util.regex.Pattern pattern)
public boolean accept(MFile file)
MFileFilteraccept in interface MFileFilterfile - the MFiletrue if and only if the name should be
included in the file collection; false otherwise.public java.lang.String toString()
toString in class java.lang.Object