public interface DriverContext extends ParametersCallback
| Modifier and Type | Method and Description |
|---|---|
java.net.URL |
getScriptFileURL() |
java.net.URL |
resolve(java.lang.String uri)
Resolves a fileUrl URI relative to base URL.
|
getParameterjava.net.URL getScriptFileURL()
java.net.URL resolve(java.lang.String uri)
throws java.net.MalformedURLException
Examples:
baseUrl = "file:///tmp/doc.xml"
uri = "http://site.com/file.html"
Resolves to: http://site.com/file.html
baseUrl = "file:///tmp/doc.xml"
uri = "file.html"
Resolves to: file:///tmp/file.htmluri - URI to resolve..java.net.MalformedURLException - if uri is malformed or cannot be resolved.EtlContext.getScriptFileURL()Copyright © Copyright 2006-2019 The Scriptella Project Team.