Interface DriverContext

All Superinterfaces:
ParametersCallback
All Known Implementing Classes:
EtlContext

public interface DriverContext extends ParametersCallback
Global ETL Context available to drivers.
Version:
1.0
Author:
Fyodor Kupolov
  • Method Details

    • getScriptFileURL

      URL getScriptFileURL()
    • resolve

      URL resolve(String uri) throws MalformedURLException
      Resolves a fileUrl URI relative to base URL.

      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.html
      Parameters:
      uri - URI to resolve..
      Returns:
      resolved file URL.
      Throws:
      MalformedURLException - if uri is malformed or cannot be resolved.
      See Also: