Class URIResolver


  • public final class URIResolver
    extends java.lang.Object
    Base class for classes resolving a uri.
    • Constructor Summary

      Constructors 
      Constructor Description
      URIResolver()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.net.URI resolve​(java.net.URI baseUri, java.lang.String uriString)
      Creates an absolute uri based on the passed arguments.
      • Methods inherited from class java.lang.Object

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

      • URIResolver

        public URIResolver()
    • Method Detail

      • resolve

        public static java.net.URI resolve​(java.net.URI baseUri,
                                           java.lang.String uriString)
                                    throws java.net.URISyntaxException
        Creates an absolute uri based on the passed arguments. See the xJDF specification Appendix: Resolving RunList/@Directory and FileSpec/@URL URI References for further details.
        Parameters:
        baseUri - The base uri to resolve against.
        uriString - The uri to resolve.
        Returns:
        The resolved uri.
        Throws:
        java.net.URISyntaxException