Interface ClasspathScanner
-
- All Known Implementing Classes:
ClasspathScannerImpl
public interface ClasspathScanner
Used to scan a portion of the classpath for files that match a particular pattern, defined by aClasspathMatcher
.- Since:
- 5.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <>
packagePath, ClasspathMatcher matcher)
Perform a scan of the indicated package path and any nested packages.
-
-
-
Method Detail
-
scan
<> packagePath, ClasspathMatcher matcher) throws
Perform a scan of the indicated package path and any nested packages.- Parameters:
packagePath
- defines the root of the search as a path, e.g., "org/apache/tapestry5/" not "org.apache.tapestry5"matcher
- passed each potential match to determine which are included in the final result- Returns:
- matching paths based on the search and the matcher
- Throws:
- if some error occurrs.
-
-