Interface Resource
-
- All Superinterfaces:
Resource
@API(status=DEPRECATED, since="1.14") @Deprecated public interface Resource extends ResourceDeprecated.Please useResourceinstead.Resourcerepresents a resource on the classpath.WARNING: a
Resourcemust provide correctequalsandhashCodeimplementations since aResourcemay potentially be stored in a collection or map.- Since:
- 1.11
- See Also:
ReflectionSupport.findAllResourcesInClasspathRoot(URI, Predicate),ReflectionSupport.findAllResourcesInPackage(String, Predicate),ReflectionSupport.findAllResourcesInModule(String, Predicate),ReflectionSupport.streamAllResourcesInClasspathRoot(URI, Predicate),ReflectionSupport.streamAllResourcesInPackage(String, Predicate),ReflectionSupport.streamAllResourcesInModule(String, Predicate)
-
-
Method Summary
All Methods Static Methods Deprecated Methods Modifier and Type Method Description static Resourceof(Resource resource)Deprecated.-
Methods inherited from interface org.junit.platform.commons.io.Resource
getInputStream, getName, getUri
-
-