org.pentaho.di.core.vfs.configuration
Class KettleFileSystemConfigBuilderFactory

java.lang.Object
  extended by 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

Constructor Summary
KettleFileSystemConfigBuilderFactory()
           
 
Method Summary
static IKettleFileSystemConfigBuilder getConfigBuilder(VariableSpace varSpace, String scheme)
          This factory returns a FileSystemConfigBuilder.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KettleFileSystemConfigBuilderFactory

public KettleFileSystemConfigBuilderFactory()
Method Detail

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 parameters
scheme - The VFS scheme (FILE, HTTP, SFTP, etc...)
Returns:
A FileSystemConfigBuilder that can translate Kettle variables into VFS config parameters
Throws:
IOException
See Also:
FileSystemConfigBuilder