Module org.junit.platform.engine
Class ResourceUtils
- java.lang.Object
-
- org.junit.platform.engine.support.descriptor.ResourceUtils
-
final class ResourceUtils extends java.lang.Object
Collection of static utility methods for working with resources.- Since:
- 1.3
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ResourceUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static java.net.URI
stripQueryComponent(java.net.URI uri)
Strip thequery
component from the suppliedURI
.
-
-
-
Method Detail
-
stripQueryComponent
static java.net.URI stripQueryComponent(java.net.URI uri)
Strip thequery
component from the suppliedURI
.- Parameters:
uri
- theURI
from which to strip the query component- Returns:
- a new
URI
with the query component removed, or the originalURI
unmodified if it does not have a query component
-
-