public class ExtensionFileNameMatcher extends java.lang.Object implements FileNameMatcher
Constructor and Description |
---|
ExtensionFileNameMatcher(java.lang.String extension) |
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 |
getExtension() |
java.lang.String |
getPresentableString() |
int |
hashCode() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept
public ExtensionFileNameMatcher(java.lang.String extension)
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 getExtension()
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