Uses of Class
io.github.classgraph.ResourceList
Packages that use ResourceList
-
Uses of ResourceList in io.github.classgraph
Fields in io.github.classgraph declared as ResourceListModifier and TypeFieldDescriptionprivate ResourceListScanResult.allAcceptedResourcesCachedA list of all files that were found in accepted packages.(package private) static final ResourceListResourceList.EMPTY_LISTAn unmodifiable emptyResourceList.Fields in io.github.classgraph with type parameters of type ResourceListModifier and TypeFieldDescriptionprivate Map<String, ResourceList> ScanResult.pathToAcceptedResourcesCachedThe map from path (relative to package root) to a list ofResourceelements with the matching path.Methods in io.github.classgraph that return ResourceListModifier and TypeMethodDescriptionResourceList.classFilesOnly()Return a newResourceListconsisting of only the resources with the filename extension ".class".static ResourceListResourceList.emptyList()Return an unmodifiable emptyResourceList.ResourceList.filter(ResourceList.ResourceFilter filter) Find the subset of theResourceobjects in this list for which the given filter predicate is true.Returns a list of all resources with the requested path.ScanResult.getAllResources()Get the list of all resources.ScanResult.getResourcesMatchingPattern(Pattern pattern) Get the list of all resources found in accepted packages that have a path matching the requested regex pattern.ScanResult.getResourcesMatchingWildcard(String wildcardString) Get the list of all resources found in accepted packages that have a path matching the requested wildcard string.ScanResult.getResourcesWithExtension(String extension) Get the list of all resources found in accepted packages that have the requested filename extension.ScanResult.getResourcesWithLeafName(String leafName) Get the list of all resources found in accepted packages that have the requested leafname.ScanResult.getResourcesWithPath(String resourcePath) Get the list of all resources found in accepted packages that have the given path, relative to the package root of the classpath element.ScanResult.getResourcesWithPathIgnoringAccept(String resourcePath) Get the list of all resources found in any classpath element, whether in accepted packages or not (as long as the resource is not rejected), that have the given path, relative to the package root of the classpath element.ScanResult.getResourcesWithPathIgnoringWhitelist(String resourcePath) Deprecated.ResourceList.nonClassFilesOnly()Return a newResourceListconsisting of non-classfile resources only.Methods in io.github.classgraph that return types with arguments of type ResourceListModifier and TypeMethodDescriptionResourceList.asMap()Return thisResourceListas a map from resource path (obtained fromResource.getPath()) to aResourceListofResourceobjects that have that path.ResourceList.findDuplicatePaths()Find duplicate resource paths within thisResourceList.ScanResult.getAllResourcesAsMap()Get a map from resource path toResourcefor all resources (including classfiles and non-classfiles) found in accepted packages.
ScanResult.getResourcesWithPathIgnoringAccept(String)instead.