public interface ClassPathScanner
Scans the class path for resources or classes.
-
Method Summary
Modifier and TypeMethodDescriptionscanForClasses(String location, Predicate<Class<?>> filter) Scan of classes using the starting package and filter.scanForResources(String location, Predicate<String> filter) Scan for file resources using the starting location and filter.
-
Method Details
-
scanForResources
Scan for file resources using the starting location and filter.- Parameters:
location- The path location from which the scan will start.filter- The filter used to match resources.- Returns:
- The list of resources found that match our filter.
-
scanForClasses
Scan of classes using the starting package and filter.- Parameters:
location- The package location from which the scan will start.filter- The filter used to match classes.- Returns:
- The list of classes found that match our filter.
-