Interface ClassPathScanner


public interface ClassPathScanner
Scans the class path for resources or classes.
  • Method Details

    • scanForResources

      List<Resource> scanForResources(String location, Predicate<String> filter)
      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

      List<Class<?>> scanForClasses(String location, Predicate<Class<?>> filter)
      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.