code: @Override
    public boolean accept(File file) {
      Set<String> fileExtensions = getFileExtensions();
  
      return (fileExtensions.isEmpty() || fileExtensions.contains(FileUtils.getExtension(file).toLowerCase().trim()));
    }
docs: Determines whether the given {@link File} is accepted by this {@link FileFilter} based on it's extension.
  
  @param file {@link File} to evaluate.
  @return a boolean value indicating whether the given {@link File} is accepted by this {@link FileFilter}.
  @see org.cp.elements.io.FileUtils#getExtension(java.io.File)
  @see #getFileExtensions()
  @see java.io.File