Class FilterResource

java.lang.Object
io.avaje.classpath.scanner.FilterResource

public class FilterResource extends Object
Some common resource matching predicates.
  • Method Details

    • byPrefixSuffix

      public static Predicate<String> byPrefixSuffix(String prefix, String suffix)
      Return a resource matcher that matches by both prefix and suffix.
    • bySuffix

      public static Predicate<String> bySuffix(String suffix)
      Return a resource matcher that matches by suffix.
    • byPrefix

      public static Predicate<String> byPrefix(String prefix)
      Return a resource matcher that matches by prefix.