public class DefaultScanner extends Object implements ClasspathScanner
ClasspathScanner.| Constructor and Description |
|---|
DefaultScanner()
Creates an instance over all the URLs visible to the context classloader and its parents, up to the application
classloader.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
Collection<ClasspathResource> |
scan(ResourceMatcher matcher)
Returns
ClasspathResources that match a given ResourceMatcher. |
public DefaultScanner()
public Collection<ClasspathResource> scan(ResourceMatcher matcher)
ClasspathScannerClasspathResources that match a given ResourceMatcher.scan in interface ClasspathScannermatcher - the matcherpublic static void main(String[] args)
Copyright © 2017. All Rights Reserved.