question: @ Override public boolean accept ( File file ) { String name = file . getName ( ) ; for ( String wildcard : wildcards ) { if ( FilenameUtils . wildcardMatch ( name , wildcard , caseSensitivity ) ) { return true ; } } return false ; }
target:  Checks to see if the filename matches one of the wildcards.