Resource represents a resource on the classpath.
ReflectionSupport#findAllResourcesInClasspathRoot(URI, Predicate), ReflectionSupport#findAllResourcesInPackage(String, Predicate), ReflectionSupport#findAllResourcesInModule(String, Predicate), ReflectionSupport#streamAllResourcesInClasspathRoot(URI, Predicate), ReflectionSupport#streamAllResourcesInPackage(String, Predicate), ReflectionSupport#streamAllResourcesInModule(String, Predicate)
| Modifier and Type | Method and Description |
|---|---|
| public static Resource | Returns: a newResourcethe resource to copy attributes from; never resource)null
References Deprecated
Resource is deprecated or references (maybe indirectly) at least one deprecated element.
Create a new |
| of | back to summary |
|---|---|
| public static Resource of(Resource resource)
References Deprecated
See corresponding docs for further information. Create a new | |