org.apache.commons.vfs.provider.sftp
Class SftpClientFactory
java.lang.Object
org.apache.commons.vfs.provider.sftp.SftpClientFactory
public class SftpClientFactory
- extends Object
Create a JSch Session instance
- Version:
- $Revision: 833601 $ $Date: 2009-11-07 00:35:06 +0100(sab, 07 nov 2009) $
- Author:
- Mario Ivankovits
Method Summary |
static com.jcraft.jsch.Session |
createConnection(String hostname,
int port,
char[] username,
char[] password,
FileSystemOptions fileSystemOptions)
Creates a new connection to the server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createConnection
public static com.jcraft.jsch.Session createConnection(String hostname,
int port,
char[] username,
char[] password,
FileSystemOptions fileSystemOptions)
throws FileSystemException
- Creates a new connection to the server.
- Throws:
FileSystemException
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.