Top Description Constructors Methods
org.junit.platform.commons.util

public final Class ResourceUtils

extends Object
Class Inheritance
Annotations
@API
status:INTERNAL
since:1.12
Static Imports
org.apiguardian.api.API.Status.INTERNAL

Collection of static utility methods for working with resources.
Since
1.3 (originally in org.junit.platform.engine.support.descriptor)

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static URI

Returns:

a new URI with the query component removed, or the original URI unmodified if it does not have a query component
stripQueryComponent
(URI
the URI from which to strip the query component
uri
)

Strip the query component from the supplied URI.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ResourceUtilsback to summary
private ResourceUtils()

Method Detail

stripQueryComponentback to summary
public static URI stripQueryComponent(URI uri)

Strip the query component from the supplied URI.

Parameters
uri:URI

the URI from which to strip the query component

Returns:URI

a new URI with the query component removed, or the original URI unmodified if it does not have a query component

Since
1.3