Interface FSFileFilter

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface FSFileFilter
File filter interface for FileSystem stuff.
Author:
Matthew Tropiano
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Tests if a file is accepted by this filter.
  • Method Details

    • accept

      boolean accept(FSFile f)
      Tests if a file is accepted by this filter.
      Parameters:
      f - the file to inspect.
      Returns:
      true if accepted, false if not.