public interface DriverContext extends ParametersCallback
| Modifier and Type | Method and Description |
|---|---|
URL |
getScriptFileURL() |
URL |
resolve(String uri)
Resolves a fileUrl URI relative to base URL.
|
getParameterURL getScriptFileURL()
URL resolve(String uri) throws 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..MalformedURLException - if uri is malformed or cannot be resolved.EtlContext.getScriptFileURL()Copyright © 2006-2012. All Rights Reserved.