Class FtpClientFactory.FtpConnectionFactory
java.lang.Object
org.apache.commons.vfs2.provider.ftp.FtpClientFactory.ConnectionFactory<org.apache.commons.net.ftp.FTPClient,FtpFileSystemConfigBuilder>
 
org.apache.commons.vfs2.provider.ftp.FtpClientFactory.FtpConnectionFactory
- Enclosing class:
- FtpClientFactory
public static final class FtpClientFactory.FtpConnectionFactory
extends FtpClientFactory.ConnectionFactory<org.apache.commons.net.ftp.FTPClient,FtpFileSystemConfigBuilder> 
Connection Factory, used to configure the FTPClient.
- 
Field SummaryFields inherited from class org.apache.commons.vfs2.provider.ftp.FtpClientFactory.ConnectionFactorybuilder
- 
Method SummaryModifier and TypeMethodDescriptionprotected org.apache.commons.net.ftp.FTPClientcreateClient(FileSystemOptions fileSystemOptions) Creates a new client.protected voidsetupOpenConnection(org.apache.commons.net.ftp.FTPClient client, FileSystemOptions fileSystemOptions) Sets up a new client.Methods inherited from class org.apache.commons.vfs2.provider.ftp.FtpClientFactory.ConnectionFactorycreateConnection
- 
Method Details- 
createClientDescription copied from class:FtpClientFactory.ConnectionFactoryCreates a new client.- Specified by:
- createClientin class- FtpClientFactory.ConnectionFactory<org.apache.commons.net.ftp.FTPClient,- FtpFileSystemConfigBuilder> 
- Parameters:
- fileSystemOptions- the file system options.
- Returns:
- a new client.
 
- 
setupOpenConnectionprotected void setupOpenConnection(org.apache.commons.net.ftp.FTPClient client, FileSystemOptions fileSystemOptions) Description copied from class:FtpClientFactory.ConnectionFactorySets up a new client.- Specified by:
- setupOpenConnectionin class- FtpClientFactory.ConnectionFactory<org.apache.commons.net.ftp.FTPClient,- FtpFileSystemConfigBuilder> 
- Parameters:
- client- the client.
- fileSystemOptions- the file system options.
 
 
-