org.apache.commons.vfs.provider.ftp
Class FtpClientFactory

java.lang.Object
  extended by org.apache.commons.vfs.provider.ftp.FtpClientFactory

public class FtpClientFactory
extends java.lang.Object

Create a FtpClient instance

Version:
$Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Mi, 29 Nov 2006) $
Author:
Mario Ivankovits

Constructor Summary
private FtpClientFactory()
           
 
Method Summary
static org.apache.commons.net.ftp.FTPClient createConnection(java.lang.String hostname, int port, char[] username, char[] password, java.lang.String workingDirectory, 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
 

Constructor Detail

FtpClientFactory

private FtpClientFactory()
Method Detail

createConnection

public static org.apache.commons.net.ftp.FTPClient createConnection(java.lang.String hostname,
                                                                    int port,
                                                                    char[] username,
                                                                    char[] password,
                                                                    java.lang.String workingDirectory,
                                                                    FileSystemOptions fileSystemOptions)
                                                             throws FileSystemException
Creates a new connection to the server.

Throws:
FileSystemException