FtpClientFactory.FtpConnectionFactory
public abstract static class FtpClientFactory.ConnectionFactory<C extends org.apache.commons.net.ftp.FTPClient,B extends FtpFileSystemConfigBuilder> extends java.lang.Object
Modifier | Constructor | Description |
---|---|---|
protected |
ConnectionFactory(B builder) |
Modifier and Type | Method | Description |
---|---|---|
protected abstract C |
createClient(FileSystemOptions fileSystemOptions) |
|
C |
createConnection(java.lang.String hostname,
int port,
char[] username,
char[] password,
java.lang.String workingDirectory,
FileSystemOptions fileSystemOptions) |
|
protected abstract void |
setupOpenConnection(C client,
FileSystemOptions fileSystemOptions) |
protected B extends FtpFileSystemConfigBuilder builder
protected ConnectionFactory(B builder)
public C createConnection(java.lang.String hostname, int port, char[] username, char[] password, java.lang.String workingDirectory, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemException
protected abstract C createClient(FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemException
protected abstract void setupOpenConnection(C client, FileSystemOptions fileSystemOptions) throws java.io.IOException
java.io.IOException