org.apache.camel.component.file.remote
Class SftpConfiguration

java.lang.Object
  extended by org.apache.camel.component.file.GenericFileConfiguration
      extended by org.apache.camel.component.file.remote.RemoteFileConfiguration
          extended by org.apache.camel.component.file.remote.SftpConfiguration

public class SftpConfiguration
extends RemoteFileConfiguration

Secure FTP configuration


Field Summary
static int DEFAULT_SFTP_PORT
           
 
Constructor Summary
SftpConfiguration()
           
SftpConfiguration(URI uri)
           
 
Method Summary
 String getKnownHostsFile()
           
 String getPrivateKeyFile()
           
 String getPrivateKeyFilePassphrase()
           
protected  void setDefaultPort()
           
 void setKnownHostsFile(String knownHostsFile)
           
 void setPrivateKeyFile(String privateKeyFile)
           
 void setPrivateKeyFilePassphrase(String privateKeyFilePassphrase)
           
 
Methods inherited from class org.apache.camel.component.file.remote.RemoteFileConfiguration
configure, getHost, getPassword, getPort, getProtocol, getUsername, isBinary, isPassiveMode, needToNormalize, remoteServerInformation, setBinary, setDirectory, setHost, setPassiveMode, setPassword, setPort, setProtocol, setUsername
 
Methods inherited from class org.apache.camel.component.file.GenericFileConfiguration
getDirectory, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_SFTP_PORT

public static final int DEFAULT_SFTP_PORT
See Also:
Constant Field Values
Constructor Detail

SftpConfiguration

public SftpConfiguration()

SftpConfiguration

public SftpConfiguration(URI uri)
Method Detail

setDefaultPort

protected void setDefaultPort()
Specified by:
setDefaultPort in class RemoteFileConfiguration

getKnownHostsFile

public String getKnownHostsFile()

setKnownHostsFile

public void setKnownHostsFile(String knownHostsFile)

getPrivateKeyFile

public String getPrivateKeyFile()

setPrivateKeyFile

public void setPrivateKeyFile(String privateKeyFile)

getPrivateKeyFilePassphrase

public String getPrivateKeyFilePassphrase()

setPrivateKeyFilePassphrase

public void setPrivateKeyFilePassphrase(String privateKeyFilePassphrase)


Apache CAMEL