Package org.cip4.lib.xjdf.uri.resolver
Class URIResolver
- java.lang.Object
-
- org.cip4.lib.xjdf.uri.resolver.URIResolver
-
public final class URIResolver extends java.lang.ObjectBase 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.URIresolve(java.net.URI baseUri, java.lang.String uriString)Creates an absolute uri based on the passed arguments.
-
-
-
Method Detail
-
resolve
public static java.net.URI resolve(java.net.URI baseUri, java.lang.String uriString) throws java.net.URISyntaxExceptionCreates 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
-
-