Class SftpClientFactory
java.lang.Object
org.apache.commons.vfs.provider.sftp.SftpClientFactory
Create a HttpClient instance
- Version:
- $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Wed, 29 Nov 2006) $
- Author:
- Mario Ivankovits
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.jcraft.jsch.Session
createConnection
(String hostname, int port, char[] username, char[] password, FileSystemOptions fileSystemOptions) Creates a new connection to the server.
-
Method Details
-
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
-