public class WildcardFileNameMatcher extends java.lang.Object implements FileNameMatcher
Constructor and Description |
---|
WildcardFileNameMatcher(java.lang.String pattern)
Use
FileNameMatcherFactory.createMatcher(String) instead of direct call to constructor |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsCharSequence(java.lang.CharSequence fileName)
This method must be overridden in specific matchers, it's default only for compatibility reasons.
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getPattern() |
java.lang.String |
getPresentableString() |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
accept
public WildcardFileNameMatcher(java.lang.String pattern)
FileNameMatcherFactory.createMatcher(String)
instead of direct call to constructorpublic boolean acceptsCharSequence(java.lang.CharSequence fileName)
FileNameMatcher
acceptsCharSequence
in interface FileNameMatcher
public java.lang.String getPresentableString()
getPresentableString
in interface FileNameMatcher
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getPattern()