public class ClasspathScannerImpl extends Object implements ClasspathScanner
| Constructor and Description |
|---|
ClasspathScannerImpl(ClasspathURLConverter converter) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
scan(String packagePath,
ClasspathMatcher matcher)
Scans the indicated package path for matches.
|
public ClasspathScannerImpl(ClasspathURLConverter converter)
public Set<String> scan(String packagePath, ClasspathMatcher matcher) throws IOException
scan in interface ClasspathScannerpackagePath - a package path (like a package name, but using '/' instead of '.', and ending with '/')matcher - passed a resource path from the package (or a sub-package), returns true if the provided
path should be included in the returned collectionIOException5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.