- All Superinterfaces:
Resource
Deprecated.
Resource represents a resource on the classpath.
WARNING: a Resource must provide correct
equals and hashCode
implementations since a Resource may potentially be stored in a
collection or map.
- Since:
- 1.11
- See Also:
-
Method Summary
Methods inherited from interface org.junit.platform.commons.io.Resource
getInputStream, getName, getUri
-
Method Details
-
of
Deprecated.- Parameters:
resource- the resource to copy attributes from; nevernull- Returns:
- a new
Resource - Since:
- 1.14
-
Resourceinstead.