Class URIUtils


  • public class URIUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      URIUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getRelativePath​(java.lang.String targetPath, java.lang.String basePath, java.lang.String pathSeparator)  
      static java.net.URI resolve​(java.net.URI baseURI, java.lang.String reference)  
      static java.net.URI resolve​(java.net.URI baseURI, java.net.URI reference)
      Resolves a URI reference against a base URI.
      • Methods inherited from class java.lang.Object

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

      • URIUtils

        public URIUtils()
    • Method Detail

      • resolve

        public static java.net.URI resolve​(java.net.URI baseURI,
                                           java.lang.String reference)
      • resolve

        public static java.net.URI resolve​(java.net.URI baseURI,
                                           java.net.URI reference)
        Resolves a URI reference against a base URI.
        Parameters:
        baseURI - the base URI
        reference - the URI reference
        Returns:
        the resulting URI
      • getRelativePath

        public static java.lang.String getRelativePath​(java.lang.String targetPath,
                                                       java.lang.String basePath,
                                                       java.lang.String pathSeparator)