public interface Scanner
| Modifier and Type | Method and Description |
|---|---|
void |
scan(ClassLoader classLoader,
String path,
ScannerVisitor visitor)
Scan all directories matching path (there might be multiple locations on classpath, JAR directory, ...)
|
void scan(ClassLoader classLoader, String path, ScannerVisitor visitor) throws IOException
classLoader - classloader to resolve pathpath - a '/'-separated path name that identifies the resource directory.
Semantics same as ClassLoader.getResources(java.lang.String).visitor - visit each file on the pathIOException - any IO exception while scanningCopyright © 2018. All rights reserved.