com.sshtools.sftp
Class SftpClientFactory

java.lang.Object
  extended by com.sshtools.sftp.SftpClientFactory

public class SftpClientFactory
extends Object


Field Summary
static int MAX_SFTP_VERSION
           
static int SFTP_ALL_MODES
           
static int SFTP_OVER_SCP
           
static int SFTP_SUBSYSTEM
           
 
Constructor Summary
SftpClientFactory()
           
 
Method Summary
 SftpClient createSftpClient(SshClient ssh)
           
 SftpClient createSftpClient(SshClient ssh, int maxVersion)
           
 SftpClient createSftpClient(SshClient ssh, int maxVersion, int modes)
           
static SftpClientFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SFTP_SUBSYSTEM

public static final int SFTP_SUBSYSTEM
See Also:
Constant Field Values

SFTP_OVER_SCP

public static final int SFTP_OVER_SCP
See Also:
Constant Field Values

SFTP_ALL_MODES

public static final int SFTP_ALL_MODES
See Also:
Constant Field Values

MAX_SFTP_VERSION

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

SftpClientFactory

public SftpClientFactory()
Method Detail

getInstance

public static SftpClientFactory getInstance()

createSftpClient

public SftpClient createSftpClient(SshClient ssh)
                            throws SshException
Throws:
SshException

createSftpClient

public SftpClient createSftpClient(SshClient ssh,
                                   int maxVersion)
                            throws SshException
Throws:
SshException

createSftpClient

public SftpClient createSftpClient(SshClient ssh,
                                   int maxVersion,
                                   int modes)
                            throws SshException
Throws:
SshException


Copyright © 2012. All Rights Reserved.