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 ClasspathScanner
packagePath
- 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 collectionIOException
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.