Package org.junit.platform.commons.util
Class ResourceUtils
- java.lang.Object
-
- org.junit.platform.commons.util.ResourceUtils
-
@API(status=INTERNAL, since="1.12") public final class ResourceUtils extends java.lang.ObjectCollection of static utility methods for working with resources.- Since:
- 1.3 (originally in org.junit.platform.engine.support.descriptor)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.net.URIstripQueryComponent(java.net.URI uri)Strip thequerycomponent from the suppliedURI.
-
-
-
Method Detail
-
stripQueryComponent
public static java.net.URI stripQueryComponent(java.net.URI uri)
Strip thequerycomponent from the suppliedURI.- Parameters:
uri- theURIfrom which to strip the query component- Returns:
- a new
URIwith the query component removed, or the originalURIunmodified if it does not have a query component - Since:
- 1.3
-
-