Class 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 the query component from the supplied URI.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceUtils

        private ResourceUtils()
    • Method Detail

      • stripQueryComponent

        static java.net.URI stripQueryComponent​(java.net.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