| Modifier and Type | Method and Description |
|---|---|
| public default SftpClient | Returns: The createdSftpClientThe session)ClientSession to be used for creating the SFTP clientCreate an SFTP client from this session. |
| public default SftpClient | Returns: The createdSftpClientThe session, int ClientSession to be used for creating the SFTP clientThe version to use - Note: if the specified version is not supported by the server
then an exception will occur version)Creates an SFTP client using the specified version |
| public default SftpClient | Returns: The createdSftpClient instanceThe session, SftpVersionSelector ClientSession to which the SFTP client should be attachedThe selector)SftpVersionSelector to use in order to negotiate the SFTP version
|
| public default SftpClient | Returns: The createdSftpClientThe session, SftpErrorDataHandler ClientSession to be used for creating the SFTP clientThe errorDataHandler)SftpErrorDataHandler to handle incoming data through the error stream - if
null the data is silently ignoredCreate an SFTP client from this session. |
| public SftpClient | Returns: The createdSftpClient instanceThe session, SftpVersionSelector ClientSession to which the SFTP client should be attachedThe selector, SftpErrorDataHandler SftpVersionSelector to use in order to negotiate the SFTP versionThe errorDataHandler)SftpErrorDataHandler to handle incoming data through the error stream - if
null the data is silently ignored
|
| public default SftpFileSystem | |
| public default SftpFileSystem | |
| public default SftpFileSystem | |
| public default SftpFileSystem | |
| public default SftpFileSystem | |
| public default SftpFileSystem | createSftpFileSystem(ClientSession session, SftpVersionSelector selector, int readBufferSize, int writeBufferSize)
|
| public SftpFileSystem | Returns: The createdSftpFileSystem instanceThe session, SftpVersionSelector ClientSession to which the SFTP client backing the file system should be
attachedThe selector, SftpErrorDataHandler SftpVersionSelector to use in order to negotiate the SFTP versionThe errorDataHandler, int SftpErrorDataHandler to handle incoming data through the error stream - if
null the data is silently ignoredDefault I/O read buffer size readBufferSize, int Default I/O write buffer size writeBufferSize)
|
| public static SftpClientFactory |
| createSftpClient | back to summary |
|---|---|
| public default SftpClient createSftpClient(ClientSession session) throws IOException Create an SFTP client from this session.
| |
| createSftpClient | back to summary |
|---|---|
| public default SftpClient createSftpClient(ClientSession session, int version) throws IOException Creates an SFTP client using the specified version
| |
| createSftpClient | back to summary |
|---|---|
public default SftpClient createSftpClient(ClientSession session, SftpVersionSelector selector) throws IOException
| |
| createSftpClient | back to summary |
|---|---|
| public default SftpClient createSftpClient(ClientSession session, SftpErrorDataHandler errorDataHandler) throws IOException Create an SFTP client from this session.
| |
| createSftpClient | back to summary |
|---|---|
public SftpClient createSftpClient(ClientSession session, SftpVersionSelector selector, SftpErrorDataHandler errorDataHandler) throws IOException
| |
| createSftpFileSystem | back to summary |
|---|---|
| public default SftpFileSystem createSftpFileSystem(ClientSession session) throws IOException | |
| createSftpFileSystem | back to summary |
|---|---|
| public default SftpFileSystem createSftpFileSystem(ClientSession session, int version) throws IOException | |
| createSftpFileSystem | back to summary |
|---|---|
| public default SftpFileSystem createSftpFileSystem(ClientSession session, SftpVersionSelector selector) throws IOException | |
| createSftpFileSystem | back to summary |
|---|---|
| public default SftpFileSystem createSftpFileSystem(ClientSession session, int version, int readBufferSize, int writeBufferSize) throws IOException | |
| createSftpFileSystem | back to summary |
|---|---|
| public default SftpFileSystem createSftpFileSystem(ClientSession session, int readBufferSize, int writeBufferSize) throws IOException | |
| createSftpFileSystem | back to summary |
|---|---|
| public default SftpFileSystem createSftpFileSystem(ClientSession session, SftpVersionSelector selector, int readBufferSize, int writeBufferSize) throws IOException | |
| createSftpFileSystem | back to summary |
|---|---|
public SftpFileSystem createSftpFileSystem(ClientSession session, SftpVersionSelector selector, SftpErrorDataHandler errorDataHandler, int readBufferSize, int writeBufferSize) throws IOException
| |
| instance | back to summary |
|---|---|
| public static SftpClientFactory instance() | |