@NotThreadSafe public class FileFilterFilenameStartsWith extends AbstractFileFilter
String.startsWith(String) so it is case
sensitive.| Constructor and Description |
|---|
FileFilterFilenameStartsWith(String sPrefix) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getPrefix() |
int |
hashCode() |
boolean |
matchesThisFilter(File aFile)
This is the method to be implemented to match this filter.
|
String |
toString() |
accept, acceptgetMatchingStrategy, getNestedFilter, matchesFilter, setMatchingStrategy, setNestedFilter, testclone, finalize, getClass, notify, notifyAll, wait, wait, waitmatchesFilterpublic boolean matchesThisFilter(@Nullable File aFile)
AbstractFiltermatchesThisFilter in class AbstractFilter<File>aFile - The value to be matchedtrue if the value matches the filterpublic boolean equals(Object o)
equals in class AbstractFilter<File>public int hashCode()
hashCode in class AbstractFilter<File>public String toString()
toString in class AbstractFilter<File>Copyright © 2014–2016 Philip Helger. All rights reserved.