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, waitacceptpublic WildcardFileNameMatcher(java.lang.String pattern)
FileNameMatcherFactory.createMatcher(String) instead of direct call to constructorpublic boolean acceptsCharSequence(java.lang.CharSequence fileName)
FileNameMatcheracceptsCharSequence in interface FileNameMatcherpublic java.lang.String getPresentableString()
getPresentableString in interface FileNameMatcherpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getPattern()