static final class ClassPath.DefaultScanner extends ClassPath.Scanner
| Modifier and Type | Field and Description |
|---|---|
private SetMultimap<java.lang.ClassLoader,java.lang.String> |
resources |
| Constructor and Description |
|---|
DefaultScanner() |
| Modifier and Type | Method and Description |
|---|---|
(package private) ImmutableSet<ClassPath.ResourceInfo> |
getResources() |
protected void |
scanDirectory(java.lang.ClassLoader classloader,
java.io.File directory)
Called when a directory is scanned for resource files.
|
private void |
scanDirectory(java.io.File directory,
java.lang.ClassLoader classloader,
java.lang.String packagePrefix) |
protected void |
scanJarFile(java.lang.ClassLoader classloader,
java.util.jar.JarFile file)
Called when a jar file is scanned for resource entries.
|
getClassPathEntries, getClassPathEntry, getClassPathFromManifest, scan, scanprivate final SetMultimap<java.lang.ClassLoader,java.lang.String> resources
ImmutableSet<ClassPath.ResourceInfo> getResources()
protected void scanJarFile(java.lang.ClassLoader classloader,
java.util.jar.JarFile file)
ClassPath.ScannerscanJarFile in class ClassPath.Scannerprotected void scanDirectory(java.lang.ClassLoader classloader,
java.io.File directory)
throws java.io.IOException
ClassPath.ScannerscanDirectory in class ClassPath.Scannerjava.io.IOExceptionprivate void scanDirectory(java.io.File directory,
java.lang.ClassLoader classloader,
java.lang.String packagePrefix)
throws java.io.IOException
java.io.IOException