org.pentaho.di.core.vfs.configuration
Class KettleFileSystemConfigBuilderFactory
java.lang.Object
org.pentaho.di.core.vfs.configuration.KettleFileSystemConfigBuilderFactory
public class KettleFileSystemConfigBuilderFactory
- extends Object
This class supports overriding of config builders by supplying a VariableSpace containing a variable in the format of
vfs.[scheme].config.parser where [scheme] is one of the VFS schemes (file, http, sftp, etc...)
- Author:
- cboyden
KettleFileSystemConfigBuilderFactory
public KettleFileSystemConfigBuilderFactory()
getConfigBuilder
public static IKettleFileSystemConfigBuilder getConfigBuilder(VariableSpace varSpace,
String scheme)
throws IOException
- This factory returns a FileSystemConfigBuilder.
Custom FileSystemConfigBuilders can be created by implementing the
IKettleFileSystemConfigBuilder
or overriding the KettleGenericFileSystemConfigBuilder
- Parameters:
varSpace
- A Kettle variable space for resolving VFS config parametersscheme
- The VFS scheme (FILE, HTTP, SFTP, etc...)
- Returns:
- A FileSystemConfigBuilder that can translate Kettle variables into VFS config parameters
- Throws:
IOException
- See Also:
FileSystemConfigBuilder