Package bm.util

Interface PathPredicates

All Known Implementing Classes:
SameFiles

public interface PathPredicates
  • Method Details

    • includeDir

      Predicate<Path> includeDir()
    • includeFile

      Predicate<Path> includeFile()
    • matches

      static Predicate<Path> matches(String includeRe)
      Creates a predicate to test if Path.toString() matches the regular expression.
    • containsRe

      static Predicate<Path> containsRe(String includeRe)
      Creates a predicate to test if Path.toString() contains the regular expression.
    • contains

      static Predicate<Path> contains(String text)
      Creates a predicate to test if Path.toString() contains the string.
    • startsWith

      static Predicate<Path> startsWith(String text)
      Creates a predicate to test if Path.toString() starts with the string.
    • endsWith

      static Predicate<Path> endsWith(String text)
      Creates a predicate to test if Path.toString() ends with the string.