public class ClasspathScannerFactory extends Object
ClasspathScanners for given URLs.| Constructor and Description |
|---|
ClasspathScannerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ClasspathScanner |
scanner()
Returns a
ClasspathScanner defined over all the URLs visible to the context classloader and its parents, up to the application
classloader. |
static ClasspathScanner |
scanner(Collection<URL> urls)
Returns a
ClasspathScanner defined over a given collection of URLs. |
static void |
setScanner(ClasspathScanner scanner)
Sets the scanner to return from
scanner() and scanner(Collection) for testing purposes. |
public static ClasspathScanner scanner()
ClasspathScanner defined over all the URLs visible to the context classloader and its parents, up to the application
classloader.public static ClasspathScanner scanner(Collection<URL> urls)
ClasspathScanner defined over a given collection of URLs.the - URLspublic static void setScanner(ClasspathScanner scanner)
scanner() and scanner(Collection) for testing purposes.scanner - the scannerCopyright © 2017. All Rights Reserved.