Package com.blackrook.fs
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(FSFile f)
Tests if a file is accepted by this filter.
-
-
-
Method Detail
-
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.
-
-