public interface ResourceAndClassScanner
| Modifier and Type | Method and Description |
|---|---|
List<Class<?>> |
scanForClasses(Location location,
org.avaje.classpath.scanner.ClassFilter predicate)
Scans the classpath for concrete classes under the specified package implementing this interface.
|
List<org.avaje.classpath.scanner.Resource> |
scanForResources(Location location,
org.avaje.classpath.scanner.ResourceFilter predicate)
Scans the classpath for resources under the specified location, starting with the specified prefix and ending with
the specified suffix.
|
List<org.avaje.classpath.scanner.Resource> scanForResources(Location location, org.avaje.classpath.scanner.ResourceFilter predicate)
location - The location in the classpath to start searching. Subdirectories are also searched.predicate - The predicate used to match the resource names.List<Class<?>> scanForClasses(Location location, org.avaje.classpath.scanner.ClassFilter predicate)
location - The location (package) in the classpath to start scanning.
Subpackages are also scanned.predicate - The predicate used to match against scanned classes.Copyright © 2018. All rights reserved.