public interface SftpClientFactory
| Modifier and Type | Method and Description |
|---|---|
SftpClient |
createSftpClient(ClientSession session,
SftpVersionSelector selector) |
FileSystem |
createSftpFileSystem(ClientSession session,
SftpVersionSelector selector,
int readBufferSize,
int writeBufferSize) |
SftpClient createSftpClient(ClientSession session, SftpVersionSelector selector) throws IOException
session - The ClientSession to which the SFTP client should be attachedselector - The SftpVersionSelector to use in order to negotiate the SFTP versionSftpClient instanceIOException - If failed to create the clientFileSystem createSftpFileSystem(ClientSession session, SftpVersionSelector selector, int readBufferSize, int writeBufferSize) throws IOException
session - The ClientSession to which the SFTP client backing the file system should be attachedselector - The SftpVersionSelector to use in order to negotiate the SFTP versionreadBufferSize - Default I/O read buffer sizewriteBufferSize - Default I/O write buffer sizeFileSystem instanceIOException - If failed to create the instanceCopyright © 2008–2018 The Apache Software Foundation. All rights reserved.