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 ResourceList
ScanResult.allAcceptedResourcesCached
A list of all files that were found in accepted packages.(package private) static final ResourceList
ResourceList.EMPTY_LIST
An unmodifiable emptyResourceList
.Fields in io.github.classgraph with type parameters of type ResourceListModifier and TypeFieldDescriptionprivate Map
<String, ResourceList> ScanResult.pathToAcceptedResourcesCached
The map from path (relative to package root) to a list ofResource
elements with the matching path.Methods in io.github.classgraph that return ResourceListModifier and TypeMethodDescriptionResourceList.classFilesOnly()
Return a newResourceList
consisting of only the resources with the filename extension ".class".static ResourceList
ResourceList.emptyList()
Return an unmodifiable emptyResourceList
.ResourceList.filter
(ResourceList.ResourceFilter filter) Find the subset of theResource
objects 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 newResourceList
consisting of non-classfile resources only.Methods in io.github.classgraph that return types with arguments of type ResourceListModifier and TypeMethodDescriptionResourceList.asMap()
Return thisResourceList
as a map from resource path (obtained fromResource.getPath()
) to aResourceList
ofResource
objects that have that path.ResourceList.findDuplicatePaths()
Find duplicate resource paths within thisResourceList
.ScanResult.getAllResourcesAsMap()
Get a map from resource path toResource
for all resources (including classfiles and non-classfiles) found in accepted packages.
ScanResult.getResourcesWithPathIgnoringAccept(String)
instead.