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


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.camel.component.file.remote.RemoteFileConfiguration
RemoteFileConfiguration.PathSeparator
 
Field Summary
static int DEFAULT_SFTP_PORT
           
 
Fields inherited from class org.apache.camel.component.file.GenericFileConfiguration
directory
 
Constructor Summary
SftpConfiguration()
           
SftpConfiguration(URI uri)
           
 
Method Summary
 String getChmod()
           
 String getCiphers()
           
 int getCompression()
           
 KeyPair getKeyPair()
           
 byte[] getKnownHosts()
           
 String getKnownHostsFile()
           
 String getKnownHostsUri()
           
 String getPreferredAuthentications()
           
 byte[] getPrivateKey()
           
 String getPrivateKeyFile()
           
 String getPrivateKeyFilePassphrase()
          Deprecated. 
 String getPrivateKeyPassphrase()
           
 String getPrivateKeyUri()
           
 int getServerAliveCountMax()
           
 int getServerAliveInterval()
           
 String getStrictHostKeyChecking()
           
 void setChmod(String chmod)
           
 void setCiphers(String ciphers)
           
 void setCompression(int compression)
           
protected  void setDefaultPort()
           
 void setKeyPair(KeyPair keyPair)
           
 void setKnownHosts(byte[] knownHosts)
           
 void setKnownHostsFile(String knownHostsFile)
           
 void setKnownHostsUri(String knownHostsUri)
           
 void setPreferredAuthentications(String pAuthentications)
           
 void setPrivateKey(byte[] privateKey)
           
 void setPrivateKeyFile(String privateKeyFile)
           
 void setPrivateKeyFilePassphrase(String privateKeyFilePassphrase)
          Deprecated. 
 void setPrivateKeyPassphrase(String privateKeyFilePassphrase)
           
 void setPrivateKeyUri(String privateKeyUri)
           
 void setServerAliveCountMax(int serverAliveCountMax)
           
 void setServerAliveInterval(int serverAliveInterval)
           
 void setStrictHostKeyChecking(String strictHostKeyChecking)
           
 
Methods inherited from class org.apache.camel.component.file.remote.RemoteFileConfiguration
configure, getConnectTimeout, getHost, getPassword, getPort, getProtocol, getSeparator, getSiteCommand, getSoTimeout, getTimeout, getUsername, isBinary, isIgnoreFileNotFoundOrPermissionError, isPassiveMode, isStepwise, isStreamDownload, isThrowExceptionOnConnectFailed, isUseList, needToNormalize, normalizePath, remoteServerInformation, setBinary, setConnectTimeout, setHost, setIgnoreFileNotFoundOrPermissionError, setPassiveMode, setPassword, setPort, setProtocol, setSeparator, setSiteCommand, setSoTimeout, setStepwise, setStreamDownload, setThrowExceptionOnConnectFailed, setTimeout, setUseList, setUsername
 
Methods inherited from class org.apache.camel.component.file.GenericFileConfiguration
getDirectory, setDirectory, 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)

getKnownHostsUri

public String getKnownHostsUri()

setKnownHostsUri

public void setKnownHostsUri(String knownHostsUri)

getKnownHosts

public byte[] getKnownHosts()

setKnownHosts

public void setKnownHosts(byte[] knownHosts)

getPrivateKeyFile

public String getPrivateKeyFile()

setPrivateKeyFile

public void setPrivateKeyFile(String privateKeyFile)

getPrivateKeyUri

public String getPrivateKeyUri()

setPrivateKeyUri

public void setPrivateKeyUri(String privateKeyUri)

getPrivateKey

public byte[] getPrivateKey()

setPrivateKey

public void setPrivateKey(byte[] privateKey)

getPrivateKeyPassphrase

public String getPrivateKeyPassphrase()

setPrivateKeyPassphrase

public void setPrivateKeyPassphrase(String privateKeyFilePassphrase)

getPrivateKeyFilePassphrase

@Deprecated
public String getPrivateKeyFilePassphrase()
Deprecated. 


setPrivateKeyFilePassphrase

@Deprecated
public void setPrivateKeyFilePassphrase(String privateKeyFilePassphrase)
Deprecated. 


getKeyPair

public KeyPair getKeyPair()

setKeyPair

public void setKeyPair(KeyPair keyPair)

getStrictHostKeyChecking

public String getStrictHostKeyChecking()

setStrictHostKeyChecking

public void setStrictHostKeyChecking(String strictHostKeyChecking)

setServerAliveInterval

public void setServerAliveInterval(int serverAliveInterval)

getServerAliveInterval

public int getServerAliveInterval()

setServerAliveCountMax

public void setServerAliveCountMax(int serverAliveCountMax)

getServerAliveCountMax

public int getServerAliveCountMax()

setChmod

public void setChmod(String chmod)

getChmod

public String getChmod()

setCiphers

public void setCiphers(String ciphers)

getCiphers

public String getCiphers()

getCompression

public int getCompression()

setCompression

public void setCompression(int compression)

setPreferredAuthentications

public void setPreferredAuthentications(String pAuthentications)

getPreferredAuthentications

public String getPreferredAuthentications()


Apache Camel