@NotThreadSafe public class FileFilterFromFileFilter extends AbstractFileFilter
FileFilter to determine
the validity. This filter works for all types of File objects.| Constructor and Description |
|---|
FileFilterFromFileFilter(FileFilter aFileFilter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
FileFilter |
getFileFilter() |
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 FileFilterFromFileFilter(@Nonnull FileFilter aFileFilter)
@Nonnull public FileFilter getFileFilter()
public 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.