Package io.avaje.classpath.scanner
Class FilterResource
- java.lang.Object
-
- io.avaje.classpath.scanner.FilterResource
-
public class FilterResource extends Object
Some common resource matching predicates.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceFilterbyPrefix(String prefix)Return a resource matcher that matches by prefix.static ResourceFilterbyPrefixSuffix(String prefix, String suffix)Return a resource matcher that matches by both prefix and suffix.static ResourceFilterbySuffix(String suffix)Return a resource matcher that matches by suffix.
-
-
-
Method Detail
-
byPrefixSuffix
public static ResourceFilter byPrefixSuffix(String prefix, String suffix)
Return a resource matcher that matches by both prefix and suffix.
-
bySuffix
public static ResourceFilter bySuffix(String suffix)
Return a resource matcher that matches by suffix.
-
byPrefix
public static ResourceFilter byPrefix(String prefix)
Return a resource matcher that matches by prefix.
-
-