public class ExactFileNameMatcher extends java.lang.Object implements FileNameMatcher
Constructor and Description |
---|
ExactFileNameMatcher(java.lang.String fileName) |
ExactFileNameMatcher(java.lang.String fileName,
boolean ignoreCase) |
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 |
getFileName() |
java.lang.String |
getPresentableString() |
int |
hashCode() |
boolean |
isIgnoreCase() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept
public ExactFileNameMatcher(java.lang.String fileName)
public ExactFileNameMatcher(java.lang.String fileName, boolean ignoreCase)
public boolean acceptsCharSequence(java.lang.CharSequence fileName)
FileNameMatcher
acceptsCharSequence
in interface FileNameMatcher
public java.lang.String getPresentableString()
getPresentableString
in interface FileNameMatcher
public java.lang.String getFileName()
public boolean isIgnoreCase()
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 toString()
toString
in class java.lang.Object