Class URIUtil

    • Constructor Detail

      • URIUtil

        public URIUtil()
    • Method Detail

      • getParent

        public static URI getParent​(URI uri)
                             throws URISyntaxException
        Get the parent URI of the supplied URI
        Parameters:
        uri - The input URI for which the parent URI is being requrested.
        Returns:
        The parent URI. Returns a URI instance equivalent to "../" if the supplied URI path has no parent.
        Throws:
        URISyntaxException - Failed to reconstruct the parent URI.