com.maverick.vfs.ssh
Class SftpClientFactory

java.lang.Object
  extended by com.maverick.vfs.ssh.SftpClientFactory

public class SftpClientFactory
extends Object


Constructor Summary
SftpClientFactory()
           
 
Method Summary
static SshClient createConnection(String hostname, int port, String username, String password, org.apache.commons.vfs2.FileSystemOptions fileSystemOptions)
           
static void setSocketFactory(SocketFactory socketFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SftpClientFactory

public SftpClientFactory()
Method Detail

setSocketFactory

public static void setSocketFactory(SocketFactory socketFactory)

createConnection

public static SshClient createConnection(String hostname,
                                         int port,
                                         String username,
                                         String password,
                                         org.apache.commons.vfs2.FileSystemOptions fileSystemOptions)
                                  throws org.apache.commons.vfs2.FileSystemException
Throws:
org.apache.commons.vfs2.FileSystemException


Copyright © 2012. All Rights Reserved.