Class FileSystemScanner

    • Method Detail

      • scanForResources

        public List<io.avaje.classpath.scanner.Resource> scanForResources​(Location location,
                                                                          io.avaje.classpath.scanner.ResourceFilter predicate)
        Scans the FileSystem for resources under the specified location, starting with the specified prefix and ending with the specified suffix.
        Parameters:
        location - The location in the filesystem to start searching. Subdirectories are also searched.
        predicate - The predicate used to match resources.
        Returns:
        The resources that were found.