Class FileSystemScanner
- java.lang.Object
-
- io.avaje.classpath.scanner.internal.scanner.filesystem.FileSystemScanner
-
public class FileSystemScanner extends Object
FileSystem scanner.
-
-
Constructor Summary
Constructors Constructor Description FileSystemScanner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Constructor Detail
-
FileSystemScanner
public 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.
-
-