public class KettleGenericFileSystemConfigBuilder extends org.apache.commons.vfs.FileSystemConfigBuilder implements IKettleFileSystemConfigBuilder
KettleSftpFileSystemConfigBuilder
Modifier and Type | Method and Description |
---|---|
static String |
extractScheme(String fullParameterName)
Extract the scheme from a Kettle VFS configuration paramter (vfs.scheme.parameter)
|
static KettleGenericFileSystemConfigBuilder |
getInstance() |
String |
parseParameterName(String parameter,
String scheme)
Extract the FileSystemOptions parameter name from a Kettle variable
|
void |
setParameter(org.apache.commons.vfs.FileSystemOptions opts,
String name,
String value,
String fullParameterName,
String vfsUrl)
Publicly expose a generic way to set parameters
|
public String parseParameterName(String parameter, String scheme)
IKettleFileSystemConfigBuilder
parseParameterName
in interface IKettleFileSystemConfigBuilder
public static KettleGenericFileSystemConfigBuilder getInstance()
public static String extractScheme(String fullParameterName) throws IllegalArgumentException
fullParameterName
- A VFS configuration parameter in the form of 'vfs.scheme.parameter'IllegalArgumentException
public void setParameter(org.apache.commons.vfs.FileSystemOptions opts, String name, String value, String fullParameterName, String vfsUrl) throws IOException
IKettleFileSystemConfigBuilder
setParameter
in interface IKettleFileSystemConfigBuilder
IOException