com.maverick.vfs.ssh
Class SftpClientFactory
java.lang.Object
com.maverick.vfs.ssh.SftpClientFactory
public class SftpClientFactory
- extends java.lang.Object
|
Method Summary |
static SshClient |
createConnection(java.lang.String hostname,
int port,
java.lang.String username,
java.lang.String password,
org.apache.commons.vfs2.FileSystemOptions fileSystemOptions)
|
static void |
setSocketFactory(javax.net.SocketFactory socketFactory)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SftpClientFactory
public SftpClientFactory()
setSocketFactory
public static void setSocketFactory(javax.net.SocketFactory socketFactory)
createConnection
public static SshClient createConnection(java.lang.String hostname,
int port,
java.lang.String username,
java.lang.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.