Package scriptella.spi
Interface DriverContext
- All Superinterfaces:
ParametersCallback
- All Known Implementing Classes:
EtlContext
Global ETL Context available to drivers.
- Version:
- 1.0
- Author:
- Fyodor Kupolov
-
Method Summary
Modifier and TypeMethodDescriptionResolves a fileUrl URI relative to base URL.Methods inherited from interface scriptella.spi.ParametersCallback
getParameter
-
Method Details
-
getScriptFileURL
URL getScriptFileURL() -
resolve
Resolves a fileUrl URI relative to base URL.Examples:
Resolves to:baseUrl = "file:///tmp/doc.xml" uri = "http://site.com/file.html"
http://site.com/file.htmlResolves to:baseUrl = "file:///tmp/doc.xml" uri = "file.html"
file:///tmp/file.html- Parameters:
uri- URI to resolve..- Returns:
- resolved file URL.
- Throws:
MalformedURLException- if uri is malformed or cannot be resolved.- See Also:
-