Interface PathFilter

All Known Implementing Classes:
GlobFilter, OutputLogFilter

@Public @Stable public interface PathFilter
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(Path path)
    Tests whether or not the specified abstract pathname should be included in a pathname list.
  • Method Details

    • accept

      boolean accept(Path path)
      Tests whether or not the specified abstract pathname should be included in a pathname list.
      Parameters:
      path - The abstract pathname to be tested
      Returns:
      true if and only if pathname should be included