Uses of Class
com.google.common.reflect.ClassPath.ResourceInfo
-
Packages that use ClassPath.ResourceInfo Package Description com.google.common.reflect This package contains utilities to work with Java reflection. -
-
Uses of ClassPath.ResourceInfo in com.google.common.reflect
Subclasses of ClassPath.ResourceInfo in com.google.common.reflect Modifier and Type Class Description static class
ClassPath.ClassInfo
Represents a class that can be loaded throughClassPath.ClassInfo.load()
.Fields in com.google.common.reflect with type parameters of type ClassPath.ResourceInfo Modifier and Type Field Description private ImmutableSet<ClassPath.ResourceInfo>
ClassPath. resources
Methods in com.google.common.reflect that return ClassPath.ResourceInfo Modifier and Type Method Description (package private) static ClassPath.ResourceInfo
ClassPath.ResourceInfo. of(java.io.File file, java.lang.String resourceName, java.lang.ClassLoader loader)
Methods in com.google.common.reflect that return types with arguments of type ClassPath.ResourceInfo Modifier and Type Method Description ImmutableSet<ClassPath.ResourceInfo>
ClassPath. getResources()
Returns all resources loadable from the current class path, including the class files of all loadable classes but excluding the "META-INF/MANIFEST.MF" file.ImmutableSet<ClassPath.ResourceInfo>
ClassPath.LocationInfo. scanResources()
Scans this location and returns all scanned resources.ImmutableSet<ClassPath.ResourceInfo>
ClassPath.LocationInfo. scanResources(java.util.Set<java.io.File> scannedFiles)
Scans this location and returns all scanned resources.Method parameters in com.google.common.reflect with type arguments of type ClassPath.ResourceInfo Modifier and Type Method Description private void
ClassPath.LocationInfo. scan(java.io.File file, java.util.Set<java.io.File> scannedUris, ImmutableSet.Builder<ClassPath.ResourceInfo> builder)
private void
ClassPath.LocationInfo. scanDirectory(java.io.File directory, ImmutableSet.Builder<ClassPath.ResourceInfo> builder)
private void
ClassPath.LocationInfo. scanDirectory(java.io.File directory, java.lang.String packagePrefix, java.util.Set<java.io.File> currentPath, ImmutableSet.Builder<ClassPath.ResourceInfo> builder)
Recursively scan the given directory, adding resources for each file encountered.private void
ClassPath.LocationInfo. scanJar(java.io.File file, java.util.Set<java.io.File> scannedUris, ImmutableSet.Builder<ClassPath.ResourceInfo> builder)
private void
ClassPath.LocationInfo. scanJarFile(java.util.jar.JarFile file, ImmutableSet.Builder<ClassPath.ResourceInfo> builder)
Constructor parameters in com.google.common.reflect with type arguments of type ClassPath.ResourceInfo Constructor Description ClassPath(ImmutableSet<ClassPath.ResourceInfo> resources)
-