Class ResourceUtils

java.lang.Object
org.junit.platform.engine.support.descriptor.ResourceUtils

final class ResourceUtils extends Object
Collection of static utility methods for working with resources.
Since:
1.3
  • Constructor Details

    • ResourceUtils

      private ResourceUtils()
  • Method Details

    • stripQueryComponent

      static URI stripQueryComponent(URI uri)
      Strip the query component from the supplied URI.
      Parameters:
      uri - the URI from which to strip the query component
      Returns:
      a new URI with the query component removed, or the original URI unmodified if it does not have a query component