scriptella.spi
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 Summary |
java.net.URL |
getScriptFileURL()
|
java.net.URL |
resolve(java.lang.String uri)
Resolves a fileUrl URI relative to base URL. |
getScriptFileURL
java.net.URL getScriptFileURL()
resolve
java.net.URL resolve(java.lang.String uri)
throws java.net.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:
java.net.MalformedURLException - if uri is malformed or cannot be resolved.- See Also:
EtlContext.getScriptFileURL()
Copyright © Copyright 2006-2009 The Scriptella Project Team.