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, scan
private 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.Scanner
scanJarFile
in class ClassPath.Scanner
protected void scanDirectory(java.lang.ClassLoader classloader, java.io.File directory) throws java.io.IOException
ClassPath.Scanner
scanDirectory
in class ClassPath.Scanner
java.io.IOException
private void scanDirectory(java.io.File directory, java.lang.ClassLoader classloader, java.lang.String packagePrefix) throws java.io.IOException
java.io.IOException