C
- The type of FTPClient.B
- The type of FtpFileSystemConfigBuilderpublic abstract static class FtpClientFactory.ConnectionFactory<C extends org.apache.commons.net.ftp.FTPClient,B extends FtpFileSystemConfigBuilder> extends Object
Modifier | Constructor and Description |
---|---|
protected |
ConnectionFactory(B builder) |
Modifier and Type | Method and Description |
---|---|
protected abstract C |
createClient(FileSystemOptions fileSystemOptions) |
C |
createConnection(String hostname,
int port,
char[] username,
char[] password,
String workingDirectory,
FileSystemOptions fileSystemOptions) |
protected abstract void |
setupOpenConnection(C client,
FileSystemOptions fileSystemOptions) |
protected B extends FtpFileSystemConfigBuilder builder
protected ConnectionFactory(B builder)
protected abstract C createClient(FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemException
public C createConnection(String hostname, int port, char[] username, char[] password, String workingDirectory, FileSystemOptions fileSystemOptions) throws FileSystemException
FileSystemException
protected abstract void setupOpenConnection(C client, FileSystemOptions fileSystemOptions) throws IOException
IOException
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.