Uses of Class
com.sshtools.client.sftp.SftpClient.SftpClientBuilder
Packages that use SftpClient.SftpClientBuilder
-
Uses of SftpClient.SftpClientBuilder in com.sshtools.client.sftp
Methods in com.sshtools.client.sftp that return SftpClient.SftpClientBuilderModifier and TypeMethodDescriptionstatic SftpClient.SftpClientBuilderSftpClient.SftpClientBuilder.create()Create a newSftpClient.SftpClientBuilder.SftpClient.SftpClientBuilder.withAsyncRequests(int asyncRequests) Set the maximum number of asynchronous requests to use for optimised reads and writes to remote files.SftpClient.SftpClientBuilder.withBlockSize(int blockSize) Sets the block size used when transferring files, defaults to the optimized setting of 32768.SftpClient.SftpClientBuilder.withBufferSize(int bufferSize) Set the size of the buffer which is used to read from the local file system.SftpClient.SftpClientBuilder.withClient(SshClient client) Use an existingSshClientto create theSftpClient.SftpClient.SftpClientBuilder.withConnection(SshConnection connection) Use an existingSshConnectionto create theSftpClient.SftpClient.SftpClientBuilder.withCustomRoots(String... rootPaths) Adds one or more custom file system root paths.SftpClient.SftpClientBuilder.withFileFactory(AbstractFileFactory<?> fileFactory) Use a specificAbstractFileFactoryfor this client.SftpClient.SftpClientBuilder.withLocalHome(File localRoot) Use a specificPathas the home of the local file system.SftpClient.SftpClientBuilder.withLocalHome(Path localHome) Use a specificPathas the home of the local file system.SftpClient.SftpClientBuilder.withLocalHomeSandbox(boolean localHomeSandbox) Whether or not to sandbox the path provided as the Local Home/code>.SftpClient.SftpClientBuilder.withLocalPath(String localPath) Start off in a specified local path.SftpClient.SftpClientBuilder.withRemotePath(String remotePath) Start off in a specified remote path.SftpClient.SftpClientBuilder.withWithoutLocalHomeSandbox()Set to not sandbox the path provided as the Local Home/code>.