@ThreadSafe public final class FilenameFilterEndsWith extends AbstractFileFilter
String.endsWith(String) so it is case
sensitive.| Constructor and Description |
|---|
FilenameFilterEndsWith(String sSuffix) |
| Modifier and Type | Method and Description |
|---|---|
String |
getSuffix() |
boolean |
matchesFilter(File aFile)
Check if the given value matches the filter or not.
|
String |
toString() |
accept, acceptpublic boolean matchesFilter(@Nullable File aFile)
IFilteraFile - The object to filter. May be null depending on the
implementation.true if the object match the filter,
false otherwise.Copyright © 2014–2015 Philip Helger. All rights reserved.