org.apache.commons.vfs.provider.sftp
Class SftpClientFactory

java.lang.Object
  extended byorg.apache.commons.vfs.provider.sftp.SftpClientFactory

public class SftpClientFactory
extends Object

Create a HttpClient instance

Version:
$Revision: 170205 $ $Date: 2005-05-15 10:21:59 +0200 (Sun, 15 May 2005) $
Author:
Mario Ivankovits

Method Summary
static com.jcraft.jsch.Session createConnection(String hostname, int port, String username, String 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
 

Method Detail

createConnection

public static com.jcraft.jsch.Session createConnection(String hostname,
                                                       int port,
                                                       String username,
                                                       String password,
                                                       FileSystemOptions fileSystemOptions)
                                                throws FileSystemException
Creates a new connection to the server.

Throws:
FileSystemException


Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.