|
Re: How to deresolve a URI [message #1753780 is a reply to message #1753775] |
Fri, 10 February 2017 06:07 |
Ed Merks Messages: 33264 Registered: July 2009 |
Senior Member |
|
|
Your question is a bit confusing and ambiguous. Of course a relative URI is necessarily relative to some base URI. So you can't deresolve an absolute (and hierarchical) URI except against some other absolute (and hierarchical) base URI.
You ask about "where the tool is executed" but it's not clear what you mean by that. Perhaps you mean the process's current working directory, i.e., System.getProperty("user.dir"). Of course you can create a file URI from this location and use that as a base URI against which to resolve. Failing that, you'll need to clarify what you mean by "where the tool is currently running" because I can't think of another interpretation of that.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03257 seconds